intel_extreme: Do not early-enable the pipe on pre-SandyBridge
Should fix #15861.
This commit is contained in:
@@ -139,11 +139,12 @@ Pipe::Configure(display_mode* mode)
|
|||||||
read32(INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset);
|
read32(INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// According to SandyBridge modesetting sequence, pipe must be enabled
|
if (gInfo->shared_info->device_type.Generation() >= 6) {
|
||||||
// before PLL are configured.
|
// According to SandyBridge modesetting sequence, pipe must be enabled
|
||||||
addr_t pipeReg = INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset;
|
// before PLL are configured.
|
||||||
write32(pipeReg, read32(pipeReg) | INTEL_PIPE_ENABLED);
|
addr_t pipeReg = INTEL_DISPLAY_A_PIPE_CONTROL + fPipeOffset;
|
||||||
|
write32(pipeReg, read32(pipeReg) | INTEL_PIPE_ENABLED);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user