<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:krisman@collabora.co.uk" title="krisman@collabora.co.uk">krisman@collabora.co.uk</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI] igt@kms_plane_scaling - Test assertion failure function igt_drm_plane_commit Failed assertion: ret == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103159">bug 103159</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>intel-gfx-bugs@lists.freedesktop.org
           </td>
           <td>krisman@collabora.co.uk
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI] igt@kms_plane_scaling - Test assertion failure function igt_drm_plane_commit Failed assertion: ret == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103159#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI] igt@kms_plane_scaling - Test assertion failure function igt_drm_plane_commit Failed assertion: ret == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103159">bug 103159</a>
              from <span class="vcard"><a class="email" href="mailto:krisman@collabora.co.uk" title="krisman@collabora.co.uk">krisman@collabora.co.uk</a>
</span></b>
        <pre>Hi, 

By reviewing the logs, I see two kinds of failures:

On the CI APL and GLK:

[drm:skl_check_pipe_max_pixel_rate [i915]] Max supported pixel clock with
scaling exceeded

And on the CI KBL:

[drm:__setplane_internal] Invalid pixel format XR24 little-endian (0x34325258)

On my personal system, which is an APL, I get the second kind of error.  It is
due the attempt to use that pixel format on a cursor plane, which apparently is
not supported.  Since we blindly fetch a plane, we could avoid that error with
something like:  

--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -215,7 +215,7 @@ static void test_plane_scaling(data_t *d)
                }

                /* Set up fb2->plane2 mapping. */
-               d->plane2 = igt_output_get_plane(output, 2);
+               d->plane2 = igt_output_get_plane_type(output,
DRM_PLANE_TYPE_OVERLAY);
                igt_plane_set_fb(d->plane2, &d->fb2);

                /* 2nd plane windowed */


That said, once I prevent that issue, I can hit the second error on my APL lake
too:

[drm:skl_check_pipe_max_pixel_rate [i915]] Max supported pixel clock with
scaling exceeded</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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>