<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - APL: Fails to detect second external monitor after a 4k monitor is attached to DUT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107113#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - APL: Fails to detect second external monitor after a 4k monitor is attached to DUT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107113">bug 107113</a>
              from <span class="vcard"><a class="email" href="mailto:shawn.c.lee@intel.com" title="Shawn Lee <shawn.c.lee@intel.com>"> <span class="fn">Shawn Lee</span></a>
</span></b>
        <pre>We did following change and got positive result for this symptom.

1. Do not apply additional latency for watermark setup on BXT/APL platform.
2. Modify min_scanlines to 4 in skl_ddb_min_alloc().

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 2cc12b48b74d..41357b80a603 100644
— a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2935,7 +2935,7 @@ static bool skl_needs_memory_bw_wa(struct
intel_atomic_state *state)
{
struct drm_i915_private *dev_priv = to_i915(state->base.dev);

- if (IS_SKYLAKE(dev_priv) || IS_BROXTON(dev_priv) ||
+ if (IS_SKYLAKE(dev_priv) ||
IS_KABYLAKE(dev_priv))
return true;
@@ -3476,7 +3476,7 @@ skl_ddb_min_alloc(const struct drm_plane_state *pstate,
const int plane)
struct drm_framebuffer *fb = pstate->fb;
struct intel_plane_state *intel_pstate = to_intel_plane_state(pstate);
uint32_t src_w, src_h;

- uint32_t min_scanlines = 8;
+ uint32_t min_scanlines = 4;
uint8_t plane_bpp;</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>