summaryrefslogtreecommitdiff
path: root/tests/kms_rmfb.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-09-21 12:53:27 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-10-02 11:30:18 +0200
commit7df7e3bda6a206c15044dfd9804eddeee29d981b (patch)
tree2eb4a07aeca915e08224a0070b29a7922c05be96 /tests/kms_rmfb.c
parent5f6806472c2d413dec850e60ef452f5d55cc9912 (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_rmfb.c')
-rw-r--r--tests/kms_rmfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_rmfb.c b/tests/kms_rmfb.c
index 9f1f564e..c97adcee 100644
--- a/tests/kms_rmfb.c
+++ b/tests/kms_rmfb.c
@@ -102,7 +102,7 @@ test_rmfb(struct rmfb_data *data, igt_output_t *output, enum pipe pipe, bool reo
drmSetClientCap(data->drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
drmSetClientCap(data->drm_fd, DRM_CLIENT_CAP_ATOMIC, 1);
- data->display.pipes[pipe].mode_blob = 0;
+ igt_pipe_refresh(&data->display, pipe, true);
} else {
igt_remove_fb(data->drm_fd, &fb);
igt_remove_fb(data->drm_fd, &argb_fb);