From 7df7e3bda6a206c15044dfd9804eddeee29d981b Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Thu, 21 Sep 2017 12:53:27 +0200 Subject: 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 Reviewed-by: Mika Kahola --- tests/kms_concurrent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/kms_concurrent.c') 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); -- cgit v1.2.3