<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gbm creates BO with wrong pitch when dri3_get_modifiers returns modifiers, causing drmModeAddFB2WithModifiers to fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111306#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gbm creates BO with wrong pitch when dri3_get_modifiers returns modifiers, causing drmModeAddFB2WithModifiers to fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111306">bug 111306</a>
              from <span class="vcard"><a class="email" href="mailto:lionel.g.landwerlin@linux.intel.com" title="Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>"> <span class="fn">Lionel Landwerlin</span></a>
</span></b>
        <pre>I think I see where we might be missing a workaround in Mesa/ISL :

/*
 * Display WA #0531: skl,bxt,kbl,glk
 *
 * Render decompression and plane width > 3840
 * combined with horizontal panning requires the
 * plane stride to be a multiple of 4. We'll just
 * require the entire fb to accommodate that to avoid
 * potential runtime errors at plane configuration time.
 */
if (IS_GEN(dev_priv, 9) && i == 0 && fb->width > 3840 &&
    is_ccs_modifier(fb->modifier))
        stride_alignment *= 4;


I don't think we implement this so there is a mismatch with the surface
created.

Could confirm that a non multiple of 64 width inferior to 3840 doesn't cause
any issue on your side?</pre>
        </div>
      </p>


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

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