summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index f65a033b..229ab8ae 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -583,6 +583,10 @@ set_mode(struct connector *c, int count, int page_flip)
ret = drmModeSetCrtc(fd, c[i].crtc, fb_id, x, 0,
&c[i].id, 1, c[i].mode);
+
+ /* XXX: Actually check if this is needed */
+ drmModeDirtyFB(fd, fb_id, NULL, 0);
+
x += c[i].mode->hdisplay;
if (ret) {