intel-gem: Move bit 6 x tiling swizzle to a driconf option, and add new mode.
authorEric Anholt <eric@anholt.net>
Tue, 1 Jul 2008 22:09:24 +0000 (15:09 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 1 Jul 2008 23:14:08 +0000 (16:14 -0700)
commite74f54793e45dd2e36474f6fc527456647f32efd
tree6c84ade0bf15ba5b7d7d76536adf84c61fa215c2
parentf059a3302260075e9cfd35649dc3877726291d8d
intel-gem: Move bit 6 x tiling swizzle to a driconf option, and add new mode.

It turns out that it's not just deviceID dependent, and there's some additional
undefined factor that determines the bit 6 swizzling.  It's now controllable
with swizzle_mode=[012] until we get a response on how to automatically detect.
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_span.c