summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorChris Wilson2009-02-11 15:26:30 +0100
committerDave Airlie2009-02-20 03:21:11 +0100
commit2ebed176a7ee126448d34fc336afb2ea0238c280 (patch)
tree42a0ee990068af7be1a359d41ea141f4236a4c40 /drivers/gpu/drm/i915/i915_gem.c
parentdrm: Do not leak a new reference for flink() on an existing name (diff)
downloadkernel-qcow2-linux-2ebed176a7ee126448d34fc336afb2ea0238c280.tar.gz
kernel-qcow2-linux-2ebed176a7ee126448d34fc336afb2ea0238c280.tar.xz
kernel-qcow2-linux-2ebed176a7ee126448d34fc336afb2ea0238c280.zip
drm/i915: Set framebuffer alignment based upon the fence constraints.
Set the request alignment to 0, and leave it up to i915_gem_object_pin() to set the appropriate alignment to match the fence covering the object. Eric Anholt mentioned that the pinning code is meant to choose the maximum of the request alignment and that of the fence covering the object... However currently, the pinning code will only apply the fence constraints if the supplied alignment is 0. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions