Bug 33702
Summary: | Screen becomes blank if you switch display mode between single internal and external with the same resolution | ||
---|---|---|---|
Product: | Drivers | Reporter: | Michael Chang (mchang) |
Component: | Video(DRI - Intel) | Assignee: | drivers_video-dri-intel (drivers_video-dri-intel) |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.39-rc3 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Michael Chang
2011-04-19 08:33:38 UTC
Finally I get workaround this issue by reverting two xorg intel driver (xf86-video-intel) commits. - Mark outputs as DPMSModeOn and restore backlight at mode set http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=33c08882c0d551afb28baef643279901dcc65fa9 - display: outputs are enabled automatically by KMS http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=19c48d3b3f33582baa87a9b3a9189e320e4cea45 This leads to the commit below revived. By reading the code I think it forces to set DPMS to ON after the CRTC set. This special handling for DPMS was considered redundant to recent kernels because KMS do it automatically. - Re-enable disabled outputs after rotation The server may have made a DPMS call before doing rotation, so after we do the mode set with the rotated framebuffer, we need to re-enable the corresponding output(s). Fixes bug #20573. http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=bedc894a565ce3c7a50990e3f78953fc2432ad40 Maybe the kernel still have discrepancy in DPMS that's not addressed .. |