diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-01-23 15:45:01 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-02-12 13:13:25 +0100 |
commit | 99ad16b58253fe7df5e9468f4a1eefb381f2f2f7 (patch) | |
tree | 31b3be708052e1d8deeba1a568a4b895295a0aec /overlay/x11 | |
parent | 7d48c0252c384d18318de89c54817bdfe9c832fc (diff) |
tests/kms_rotation_crc: Fix bad-tiling testcase.
bad-tiling test didn't work, LOCAL_DRM_FORMAT_MODE_NONE == 0, so
the fb was created with tiling = Y, but because test_bad_format
was set but override_tiling wasn't, we fell through to the success
case. Always assume failure if test_bad_format is set, and pass X
tiled for fb, so the format override works.
Also clear variables after subtests in main, so if the next subtest
doesn't run we still clear the variables.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Tested-by: Vidya Srinivas <vidya.srinivas@intel.com>
Diffstat (limited to 'overlay/x11')
0 files changed, 0 insertions, 0 deletions