[Intel-gfx] [PATCH] Correct alignment for framebuffer

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 3 18:43:10 CET 2009


On Tue, 2009-02-03 at 16:29 +0000, Chris Wilson wrote:
> The attached patch uses i915_gem_get_gtt_alignment() to compute the
> correct alignment for a fenced object.

As pointed out by Eric Anholt, this is a simpler version that takes uses
the fact that requesting a zero alignment causes the pinning code to set
the alignment based on the fencing constraints.
-ickle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-i915-Set-framebuffer-alignment-based-upon-the-f.patch
Type: text/x-patch
Size: 1326 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090203/37bce8bd/attachment.bin>


More information about the Intel-gfx mailing list