diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-09-21 12:53:27 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-10-02 11:30:18 +0200 |
commit | 7df7e3bda6a206c15044dfd9804eddeee29d981b (patch) | |
tree | 2eb4a07aeca915e08224a0070b29a7922c05be96 /tests/kms_concurrent.c | |
parent | 5f6806472c2d413dec850e60ef452f5d55cc9912 (diff) |
tests: Stop looking at plane private members
Most of these tests have no reason to look at those members,
so try other ways of getting the information.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_concurrent.c')
-rw-r--r-- | tests/kms_concurrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c index 5d1e0bc5..7f44c596 100644 --- a/tests/kms_concurrent.c +++ b/tests/kms_concurrent.c @@ -91,7 +91,7 @@ static void test_fini(data_t *data, enum pipe pipe, int n_planes, { int i; - data->display.pipes[pipe].mode_blob = 0; + igt_pipe_refresh(&data->display, pipe, true); for (i = 0; i < n_planes; i++) { igt_plane_t *plane = data->plane[i]; @@ -292,7 +292,7 @@ test_resolution_with_output(data_t *data, enum pipe pipe, igt_output_t *output) i = 0; while (i < iterations || loop_forever) { - data->display.pipes[pipe].mode_blob = 0; + igt_pipe_refresh(&data->display, pipe, true); mode_hi = igt_output_get_mode(output); mode_lo = get_lowres_mode(data, mode_hi, output); |