[PATCH] Reallocate frame buffer on resize

2008-12-11 Thread Keith Packard
When running UXA (and not DRI1), we can resize the frame buffer. Signed-off-by: Keith Packard kei...@keithp.com --- src/i830.h |9 +++ src/i830_display.c | 29 ++- src/i830_display.h |1 + src/i830_driver.c | 143 ++-

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

2008-12-11 Thread Eric Anholt
On Thu, 2008-12-11 at 15:30 -0800, Keith Packard wrote: When running UXA (and not DRI1), we can resize the frame buffer. Signed-off-by: Keith Packard kei...@keithp.com --- src/i830.h |9 +++ src/i830_display.c | 29 ++- src/i830_display.h |1 + src/i830_driver.c

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

2008-12-11 Thread Keith Packard
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