[Bug 59841] [IVB cpu eDP] panel is broken due to 657445fe86 (eDP bpp clamping)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sun Sep 1 14:47:24 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=59841

--- Comment #80 from jkp <jkp at iki.fi> ---
Confirmed to work. Daniel, can you check on whether you think this is a good
approach, and whether this patch works for the case for which you say the
clamping is needed?

--- linux-3.11-rc7.virgin/drivers/gpu/drm/i915/intel_dp.c       2013-08-26
03:43:22.000000000 +0300
+++ linux-3.11-rc7/drivers/gpu/drm/i915/intel_dp.c      2013-09-02
00:44:41.580152297 +0300
@@ -710,7 +710,7 @@
        /* Walk through all bpp values. Luckily they're all nicely spaced with
2
         * bpc in between. */
        bpp = pipe_config->pipe_bpp;
-       if (is_edp(intel_dp) && dev_priv->vbt.edp_bpp)
+       if (is_edp(intel_dp) && dev_priv->vbt.edp_bpp &&
dev_priv->vbt.edp_support)
                bpp = min_t(int, bpp, dev_priv->vbt.edp_bpp);

        for (; bpp >= 6*3; bpp -= 2*3) {

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list