* [PATCH] fix bug in function gen8_ppgtt_clear_range, passed wrong ptr to kunmap_px.
@ 2016-04-09 13:00 enpengxu
2016-04-09 15:25 ` [Intel-gfx] " Matthew Auld
0 siblings, 1 reply; 2+ messages in thread
From: enpengxu @ 2016-04-09 13:00 UTC (permalink / raw)
To: daniel.vetter
Cc: jani.nikula, airlied, intel-gfx, dri-devel, linux-kernel, Enpeng Xu
From: Enpeng Xu <enpengxu@gmail.com>
Signed-off-by: Enpeng Xu <enpengxu@gmail.com>
---
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) {
--
2.1.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-09 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-09 13:00 [PATCH] fix bug in function gen8_ppgtt_clear_range, passed wrong ptr to kunmap_px enpengxu
2016-04-09 15:25 ` [Intel-gfx] " Matthew Auld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®