broadcom/vc5: Enable UIF XOR on textures.
authorEric Anholt <eric@anholt.net>
Mon, 22 Jan 2018 01:14:25 +0000 (09:14 +0800)
committerEric Anholt <eric@anholt.net>
Sat, 3 Feb 2018 00:50:02 +0000 (16:50 -0800)
commit2e746bc63d1ab56c6006f328c21a77dc69d0b9a8
treeabda559ab31fc18187638c4572b5f02535ff9948
parent6a862b0de711955902d4d58f1b0c6063e76207a6
broadcom/vc5: Enable UIF XOR on textures.

This should increase performance by reducing SDRAM bank conflicts when
crossing between UIF columns (particularly on power-of-two height
textures).

The uif_xor_disable setup is dropped, since we need to allow XOR on lower
miplevels even when level 0 is XOR.  The level 0 force UIF and level 0 XOR
flags should handle setting XOR properly on imported buffers.
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_state.c
src/gallium/drivers/vc5/vc5_tiling.c