intel_extreme: Do not early-enable the pipe on pre-SandyBridge

Should fix #15861.
This commit is contained in:
Adrien Destugues 2020-04-12 10:11:00 +02:00
parent be4c5346eb
commit 48da5bf8ac

View File

@ -139,11 +139,12 @@ Pipe::Configure(display_mode* mode)
read32(INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset);
#endif
if (gInfo->shared_info->device_type.Generation() >= 6) {
// According to SandyBridge modesetting sequence, pipe must be enabled
// before PLL are configured.
addr_t pipeReg = INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset;
write32(pipeReg, read32(pipeReg) | INTEL_PIPE_ENABLED);
}
}