projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680b9c4
)
modetest: Call dirty fb on modeset
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 19 Oct 2011 11:32:43 +0000
(13:32 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 19 Oct 2011 11:35:07 +0000
(13:35 +0200)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
f65a033
..
229ab8a
100644
(file)
--- 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) {