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_busy.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/kms_busy.c') diff --git a/tests/kms_busy.c b/tests/kms_busy.c index 7e31c2c8..f430beaf 100644 --- a/tests/kms_busy.c +++ b/tests/kms_busy.c @@ -146,7 +146,10 @@ static void flip_to_fb(igt_display_t *dpy, int pipe, if (modeset) { igt_set_module_param_int("enable_hangcheck", 1); - dpy->pipes[pipe].mode_blob = 0; + + /* Clear old mode blob. */ + igt_pipe_refresh(dpy, pipe, true); + igt_output_set_pipe(output, pipe); igt_display_commit2(dpy, COMMIT_ATOMIC); } -- cgit v1.2.3