[Intel-gfx] [PATCH] Reallocate frame buffer on resize

Keith Packard keithp at keithp.com
Fri Dec 12 05:21:33 CET 2008


On Thu, 2008-12-11 at 18:15 -0800, Eric Anholt wrote:

> I know of a 64b alignment required for display planes, but I'm not sure
> what a 64-pixel alignment is about.  Also, #define ALIGN() should be in
> a header already, seriously.

That alignment came from the existing code; if it's wrong, we can fix
it. Of course, more alignment doesn't usually hurt other than wasting
memory. Plus, that alignment will usually end up overridden by the
tiling alignment anyway. Should we just align to one or the other
(linear/tiled) instead of doing the linear alignment and then the
more-strict tiled alignment?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081211/f1b093f4/attachment.sig>


More information about the Intel-gfx mailing list