]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Support 64b execbuf
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 29 Apr 2014 02:29:25 +0000 (19:29 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 14:01:58 +0000 (16:01 +0200)
commit8b238139d8e4f19f56aa0a4fa9671a7325e74d4c
treeda8a9e0208c9b32704cad6eeb76e844cb8e24e01
parent4b9398a8c0f5b22077395f00fae6c39cbdbc9dc4
drm/i915: Support 64b execbuf

Previously, our code only had a 32b offset value for where the
batchbuffer starts. With full PPGTT, and 64b canonical GPU address
space, that is an insufficient value. The code to expand is pretty
straight forward, and only one platform needs to do anything with the
extra bits.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h