adc0f76e64
Modesetting =========== My previous hack was setting the transcoder registers, instead of the display ones. Do that the way it is designed in the driver instead: - If there is a transcoder, set its registers, but do not set the display timings. The display will remain set at its native (and only) resolution, and panel fitting will adjust the output of the transcoder to match. - If there is no transcoder, set the display registers directly to the native resolution, as it was done on previous generation devices. - fPipeOffset hacks no longer needed DPMS ==== It seems the panel control register is not readable on PCH? Anyway, the code would loop forever waiting for the bit to become unset when turning the display off. Waiting seems to not be needed, so just remove it as well as the "unlock" bit, which does not work for me and results in a black screen. Remaining hacks =============== I still need to force HEAD_MODE_A_ANALOG to get output on pipe B (LVDS display) working. I suspect something is common to the two pipes or not allocated to the right one. This version will have less side effects on other generations and help with getting things to work on SandyBridge and possibly later devices. Please test and report. |
||
---|---|---|
.. | ||
3dfx | ||
ati | ||
common | ||
et6x00 | ||
intel_810 | ||
intel_extreme | ||
matrox | ||
neomagic | ||
nvidia | ||
nvidia_gpgpu | ||
omap | ||
radeon | ||
radeon_hd | ||
s3 | ||
skeleton | ||
vesa | ||
via | ||
vmware | ||
AGP.h | ||
video_overlay.h |