]> 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)
commit895889cbf3e23668df01322280629501285ba5cc
treeda8a9e0208c9b32704cad6eeb76e844cb8e24e01
parent28d4703f48863e66c7dbbc3ebbd713e2cea9ae32
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