From patchwork Sat Apr 9 13:00:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: leo xu X-Patchwork-Id: 8788201 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B0896C0554 for ; Sat, 9 Apr 2016 13:00:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA6A5202B8 for ; Sat, 9 Apr 2016 13:00:39 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id AC56320303 for ; Sat, 9 Apr 2016 13:00:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A7726E43A; Sat, 9 Apr 2016 13:00:37 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 76DF46E437; Sat, 9 Apr 2016 13:00:35 +0000 (UTC) Received: by mail-io0-x241.google.com with SMTP id q128so19719026iof.2; Sat, 09 Apr 2016 06:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1wfspnNQkdXSXrafIcxl636zOobMJXRx/7TO6lJQ0Vg=; b=culbgHF2SMLnH5c3axpaCPAwnRG0IsOoKjVtji2kRXEHuE8J23Zp5bHFZKPcEBnlCy UFqu/lrIhYgsKKsQkEefG6q7ra3sSRpocjYOBvE5TkP2gUBAnx326R9wkuKXV4M6jdxd micbLfJPaeBPKgsmMMuhYlml2t2YbAw1Jg7R6+toKkrqdHm2yeI9AtQRVPJH3A7DkI0F ID7dxFZiC2lxTDoAImhcNA8mprGOfYNAfP5duat2a97h+PtCnanhCDhlk+53XdxExxeI Ce7N1teIm+FpCdY50a+ER42f97dsUzqs/IyDISXzqQ93hT+gYwMdIaGj4RRHErQ53BM+ xpTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1wfspnNQkdXSXrafIcxl636zOobMJXRx/7TO6lJQ0Vg=; b=D8UYtm4of7ORYbd98JpnVglYAzZo/5guU6MsHyvWQ2DzzXdhPsSw1hBUzgILkQdGwm hK1tR/8SbToNV7HqsBrGza0zQLclS3KJbM8o9/pL5Tv7MTPJmIzUW5ymUGVQ0XQkTLHE 4eTG5h1fMh49LzaEW8SPUkwpadUgJg50rhZ61w60T3zYRht2f4rCaQZoFZ4Zqgwz3mDS OqtHUBx4bifu1uZrFafQRgQjqWbg3Omg6mWbKEzXFICkR04A2G85OEj2h+FjeF3lkFgL MMHFirR0cdVPM0bkeLJJa2LHaW2o1Czivr1F2pCt2vIDUkP9wHwonnyFFsjPgFu9PTi3 5zZA== X-Gm-Message-State: AD7BkJK+VeGoMEgKpbeep2OOyDcxfXIpSSLy750wbdq00opDWEqFoN/Y4UwW4ox7Pv8YzQ== X-Received: by 10.107.134.8 with SMTP id i8mr13981816iod.130.1460206834474; Sat, 09 Apr 2016 06:00:34 -0700 (PDT) Received: from localhost.localdomain (24-212-160-131.cable.teksavvy.com. [24.212.160.131]) by smtp.gmail.com with ESMTPSA id o123sm5050345iod.5.2016.04.09.06.00.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Apr 2016 06:00:33 -0700 (PDT) From: enpengxu To: daniel.vetter@intel.com Date: Sat, 9 Apr 2016 09:00:30 -0400 Message-Id: <1460206830-2536-1-git-send-email-enpengxu@gmail.com> X-Mailer: git-send-email 2.1.0 Cc: airlied@linux.ie, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Enpeng Xu Subject: [Intel-gfx] [PATCH] fix bug in function gen8_ppgtt_clear_range, passed wrong ptr to kunmap_px. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Enpeng Xu Signed-off-by: Enpeng Xu --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index 49e4f26..527eca7 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -746,7 +746,7 @@ static void gen8_ppgtt_clear_pte_range(struct i915_address_space *vm, num_entries--; } - kunmap_px(ppgtt, pt); + kunmap_px(ppgtt, pt_vaddr); pte = 0; if (++pde == I915_PDES) {