From 282be384923e48294ae12e586ed83fdedbd2d3b0 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 26 Dec 2017 13:22:37 +0000 Subject: 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(-) (limited to 'sys/dev/pci/drm/i915/i915_gem_gtt.c') 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) { -- cgit v1.2.3