[PATCH] intel: Cache tiling/swizzle state in user mode. Reset tiling on reuse.

2008-12-15 Thread Keith Packard
Remember tiling mode values provided by appplications, and record tiling mode when creating a buffer from another application. This eliminates any need to ask the kernel for tiling values and also makes reused buffers get the right tiling. Signed-off-by: Keith Packard kei...@keithp.com ---

Re: [Intel-gfx] [PATCH] intel: Cache tiling/swizzle state in user mode. Reset tiling on reuse.

2008-12-15 Thread Eric Anholt
On Mon, 2008-12-15 at 15:08 -0800, Keith Packard wrote: Remember tiling mode values provided by appplications, and record tiling mode when creating a buffer from another application. This eliminates any need to ask the kernel for tiling values and also makes reused buffers get the right