summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2011-10-19 13:32:43 +0200
committerJakob Bornecrantz <jakob@vmware.com>2011-10-19 13:35:07 +0200
commitd23146f3f0ad14c8ad482a4832cae859c8d646f2 (patch)
tree236d4fc616534e8dae760f97ef256fd07eb73e10
parent680b9c4fa3dfb329bd74ec08c17cfc876ea2fc5b (diff)
modetest: Call dirty fb on modeset
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
-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) {