diff options
author | Adam Jackson <ajax@redhat.com> | 2012-05-21 13:58:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2012-08-08 08:58:04 +1000 |
commit | 62d74afaf462713de62337bf3f90e72206318ba5 (patch) | |
tree | 1fdc58edf2dd29e7691dc1c1846062a83241235a | |
parent | d0a162f2a26aa7ea040a2d6dc648f72e79de8723 (diff) |
Use classic-equivalent DPMS codeg200se-randr-1.2
The RANDR port code does... something else. It looks well-intentioned
but it breaks display setup on a couple of chips so it's wrong.
Probably this is just crtc dpms vs. output dpms confusion.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/mga_g_output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mga_g_output.c b/src/mga_g_output.c index 147bac6..5b3ed8a 100644 --- a/src/mga_g_output.c +++ b/src/mga_g_output.c @@ -150,7 +150,12 @@ output_dac1_dpms(xf86OutputPtr output, int mode) OUTREG8(MGAREG_CRTCEXT_DATA, crtcext1); #endif +#if 0 + /* this is wrong on at least EV and EH */ output1_dpms(output, mode); +#endif + + MGADisplayPowerManagementSet(output->scrn, mode, 0); } static void |