diff options
author | Gabriel Krisman Bertazi <krisman@collabora.co.uk> | 2017-11-15 17:36:56 -0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-12-04 16:13:55 +0200 |
commit | 5ab074fc1081c29fe3e9ccc53ce4cc43520faded (patch) | |
tree | d1e5bbe8233d419d8e3f963034f77b825230ee2c /tests/kms_ccs.c | |
parent | 476c4b462e0453c70ee81664c0227fdddc26cbd0 (diff) |
tests/kms_ccs: Test pipes other than pipe A
Commit d41c4ccbd2f9 ("tests/kms_ccs: Fix subtest enumeration")
accidently removed the update of data.pipe, causing kms_ccs to silently
only test PIPE_A.
This fixes the behavior reported by Daniel Vetter where tests would
succeed even on nonexistent pipes.
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests/kms_ccs.c')
-rw-r--r-- | tests/kms_ccs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c index ab9325d1..775c6999 100644 --- a/tests/kms_ccs.c +++ b/tests/kms_ccs.c @@ -483,6 +483,8 @@ igt_main const char *pipe_name = kmstest_pipe_name(pipe); int sprite_idx = 0; + data.pipe = pipe; + data.flags = TEST_BAD_PIXEL_FORMAT; igt_subtest_f("pipe-%s-bad-pixel-format", pipe_name) test_output(&data); |