drm/i915: Switch kunmap() to take the page not vaddr
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Nov 2019 09:14:09 +0000 (09:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Nov 2019 09:24:31 +0000 (09:24 +0000)
commitbae21dacd7b7167f3c2d61c11245f618a82749a1
tree610199b2b9bc276dbcff34260075d696952b0601
parent3b054a1c036f09017d78e6ce89a9cb331806c833
drm/i915: Switch kunmap() to take the page not vaddr

On converting from kunmap_atomic() to kunamp() one must remember the
latter takes the struct page, the former the vaddr.

Fixes: 48715f700174 ("drm/i915: Avoid atomic context for error capture")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191125091409.1630385-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c