commit | 18f091d136cd44ab397817f8a3e89c21e9561a31 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Mon Dec 15 15:08:12 2008 -0800 |
committer | Eric Anholt <eric@anholt.net> | Wed Dec 17 10:29:15 2008 -0800 |
tree | 1d7815713b1209d1162e6c0901773781357bacc9 | |
parent | 40334c64107a2938c41af6e34bda9f2094d1c6ec [diff] |
intel: Cache tiling/swizzle state in user mode. Reset tiling on reuse. 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 <keithp@keithp.com>