[Bug 93477] loop in pipe configuration computation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 3 08:30:54 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93477

--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/drivers/gpu/drm/i915/intel_crt.c
b/drivers/gpu/drm/i915/intel_crt.c
index a2a31fd..64fe69d 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -261,8 +261,13 @@ static bool intel_crt_compute_config(struct intel_encoder
*encoder,
                pipe_config->has_pch_encoder = true;

        /* LPT FDI RX only supports 8bpc. */
-       if (HAS_PCH_LPT(dev))
+       if (HAS_PCH_LPT(dev)) {
+               if (pipe_config->bw_constrained && pipe_config->pipe_bpp < 24)
{
+                       DRM_DEBUG_KMS("LPT only supports 24bpp\n");
+                       return false;
+               }
                pipe_config->pipe_bpp = 24;
+       }

        /* FDI must always be 2.7 GHz */
        if (HAS_DDI(dev))

makes it fail silently. This setup (using a 1080p mode on a forced VGA output)
used to work on this machine for all intents and purposes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160503/104f48a5/attachment.html>


More information about the intel-gfx-bugs mailing list