<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI][DRMTIP] igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy - incomplete - RIP: 0010:skl_check_pipe_max_pixel_rate+0x8b/0x2d0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109084#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI][DRMTIP] igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy - incomplete - RIP: 0010:skl_check_pipe_max_pixel_rate+0x8b/0x2d0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109084">bug 109084</a>
              from <span class="vcard"><a class="email" href="mailto:clinton.a.taylor@intel.com" title="Clinton Taylor <clinton.a.taylor@intel.com>"> <span class="fn">Clinton Taylor</span></a>
</span></b>
        <pre>Testing so far:
Ran 2x-long-flip-vs-cursor-legacy for 5 hours today without duplicating the
issue. During the 5 hours the DUT had 3 CRTC's enabled and I hot-plugged DP and
USB_C cables in and out at random intervals to attempt to cause an invalid CRTC
to occur. 


Possible fixes to NULL de-reference:
There appears to be 2 ways to get a GP fault in
skl_check_pipe_max_pixel_rate().
1. intel_crtc passed in is NULL.
2. pstate is resolving as NULL via
drm_atomic_crtc_state_for_each_plane_state().

Assuming intel_crtc_state (cstate) is valid since it's already de-referenced
several times in intel_crtc_atomic_check().

Based on the offset (0x8b) in the OOP message the issue is probably not
intel_crtc which is de-referenced to get dev_priv in the first line of code.
GP message: skl_check_pipe_max_pixel_rate+0x8b/0x2d0 [i915]

Submit patch to protect intel_crtc in intel_display.c and pstate in intel_pm.c</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>
      </ul>
    </body>
</html>