kms_flip: Add flip-vs-bad-tiling test
kms_flip: Add flip-vs-bad-tiling test

flip-vs-bad-tiling tests that page flipping to a Y-tiled buffer returns
an error correctly, rather than triggering kernel BUG for instance.

Create a third fb for this purpose. After the fb has been created,
change its tiling mode to Y. When performing a flip, target this
Y-tiled fb and make sure we get the expected error value.

Signed-off-by: Ville Syrjälä <cd6e8d405ca90be3a03d5427c5b24fbd2d68dcc4@linux.intel.com>
Signed-off-by: Daniel Vetter <c1b6782c4af8f0673da8923a0702a1832e5940f4@ffwll.ch>

tiagovignatti/intel-gpu-tools,rib/intel-gpu-tools,tiagovignatti/intel-gpu-tools,dlespiau/checkmate-test-igt,dlespiau/checkmate-test-igt,chenxianqin/intel-gpu-tools,rib/intel-gpu-tools,rib/intel-gpu-tools,ChrisCummins/intel-gpu-tools,chenxianqin/intel-gpu-tools,mv0/intel-gpu-tools,chenxianqin/intel-gpu-tools,mv0/intel-gpu-tools,yipdw/intel-gpu-tools,erikarn/intel-gpu-tools,ChrisCummins/intel-gpu-tools,chenxianqin/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,ChrisCummins/intel-gpu-tools,dlespiau/checkmate-test-igt,erikarn/intel-gpu-tools,yipdw/intel-gpu-tools,yipdw/intel-gpu-tools,mv0/intel-gpu-tools,rib/intel-gpu-tools,erikarn/intel-gpu-tools,mv0/intel-gpu-tools,tiagovignatti/intel-gpu-tools,ChrisCummins/intel-gpu-tools,yipdw/intel-gpu-tools,erikarn/intel-gpu-tools