summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-26 13:22:37 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-26 13:22:37 +0000
commit282be384923e48294ae12e586ed83fdedbd2d3b0 (patch)
tree80525699386f3e3b165c1d0453f72cc974eeed00 /sys/dev/pci/drm
parentfc3d66292996f83f96793ce15fe97a4076aa1ada (diff)
drm/i915: call kunmap_px on pt_vaddr
From Matthew Auld 44a7102484db0ddfa6f855b57ffe0566f739b55a in mainline linux Pointed out by Martin Ziemer
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/i915/i915_gem_gtt.c2
1 files changed, 1 insertions, 1 deletions
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) {