drm/i915: Allocate scratch page from stolen
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 16:23:19 +0000 (17:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 19:59:45 +0000 (20:59 +0100)
commitde8fe1663a5e1e6d83b21caf000f462483a8a559
treeba34f1419f5c1bde245af3a241ebb0cd78618010
parentf8291952bd8c10e2dfb6fc0419ed747922ab90ea
drm/i915: Allocate scratch page from stolen

With the last direct CPU access to the scratch page removed, we can now
allocate it from our small amount of reserved system pages (stolen
memory).

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-10-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c