modetest: Call dirty fb on modeset
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>main
parent
680b9c4fa3
commit
d23146f3f0
|
@ -583,6 +583,10 @@ set_mode(struct connector *c, int count, int page_flip)
|
||||||
|
|
||||||
ret = drmModeSetCrtc(fd, c[i].crtc, fb_id, x, 0,
|
ret = drmModeSetCrtc(fd, c[i].crtc, fb_id, x, 0,
|
||||||
&c[i].id, 1, c[i].mode);
|
&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;
|
x += c[i].mode->hdisplay;
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in New Issue