mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
drm/i915: don't intel_crt_init on any ULT machines
We may have DDI_BUF_CTL(PORT_A) configured with 2 lanes and still not have CRT, so just check for !IS_ULT. This problem happened on a real machine and resulted in a very ugly dmesg. Cc: stable@vger.kernel.org Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
6af79ae2ae
commit
c40c0f5bd5
1 changed files with 1 additions and 1 deletions
|
@ -8495,7 +8495,7 @@ static void intel_setup_outputs(struct drm_device *dev)
|
||||||
I915_WRITE(PFIT_CONTROL, 0);
|
I915_WRITE(PFIT_CONTROL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(HAS_DDI(dev) && (I915_READ(DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES)))
|
if (!IS_ULT(dev))
|
||||||
intel_crt_init(dev);
|
intel_crt_init(dev);
|
||||||
|
|
||||||
if (HAS_DDI(dev)) {
|
if (HAS_DDI(dev)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue