]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit415296a65cc413e6a64fd69dfa740cb6cda1aa0c
tree5d101fc24582d305542dad37d4ac28b109c077df
parent0c65716eccda9cde3bb03ee2fd29ba06cca9e232
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