From 366aa78df4289ce2bbe488a2b2a0eab781f22a9c Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 26 Dec 2017 13:22:36 +0000 Subject: [PATCH] drm/i915: call kunmap_px on pt_vaddr From Matthew Auld 44a7102484db0ddfa6f855b57ffe0566f739b55a in mainline linux Pointed out by Martin Ziemer --- sys/dev/pci/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/i915_gem_gtt.c b/sys/dev/pci/drm/i915/i915_gem_gtt.c index d11c628ebb4..04df47a68cf 100644 --- a/sys/dev/pci/drm/i915/i915_gem_gtt.c +++ b/sys/dev/pci/drm/i915/i915_gem_gtt.c @@ -778,7 +778,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.20.1