summaryrefslogtreecommitdiff
path: root/src/mga_g_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_g_output.c')
-rw-r--r--src/mga_g_output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mga_g_output.c b/src/mga_g_output.c
index e1a918f..2234219 100644
--- a/src/mga_g_output.c
+++ b/src/mga_g_output.c
@@ -150,7 +150,13 @@ output_dac1_dpms(xf86OutputPtr output, int mode)
break;
}
+ MGAWAITVSYNC();
+ MGAWAITBUSY();
+
OUTREG8(MGAREG_SEQ_DATA, seq1);
+
+ usleep(20000);
+
OUTREG8(MGAREG_CRTCEXT_DATA, crtcext1);
#endif