drm/i915: Stop mapping the scratch page into CPU space
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 16:23:18 +0000 (17:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 19:58:48 +0000 (20:58 +0100)
commitf8291952bd8c10e2dfb6fc0419ed747922ab90ea
tree5d101fc24582d305542dad37d4ac28b109c077df
parent1b7744e7ba4e4ad17b5910796c9b1ca74063df01
drm/i915: Stop mapping the scratch page into CPU space

After the elimination of using the scratch page for Ironlake's
breadcrumb, we no longer need to kmap the object. We therefore can move
it into the high unmappable space and do not need to force the object to
be coherent (i.e. snooped on !llc platforms).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467390209-3576-9-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h