<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - NULL pointer dereference in intel_pipe_will_have_type() triggered from vlv_compute_dpll()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94995">94995</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>NULL pointer dereference in intel_pipe_will_have_type() triggered from vlv_compute_dpll()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ville.syrjala@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marius.c.vlad@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>i915 platform</th>
          <td>BYT
          </td>
        </tr>

        <tr>
          <th>i915 features</th>
          <td>display/DSI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123030" name="attach_123030" title="stacktrace">attachment 123030</a> <a href="attachment.cgi?id=123030&action=edit" title="stacktrace">[details]</a></span>
stacktrace

Reloading the module (tests/drv_module_reload) causes a NULL pointer
dereference on BYT. 

The culprit seems to be:

cd2d34d drm/i915: Setup DPLL/DPLLMD for DSI too on VLV/CHV

Check quickly and it seems that crtc_state->base.state is NULL when reloading
the driver.

>From the following integration manifest:
e51a1e3 drm-intel-nightly: 2016y-04m-15d-13h-26m-14s UTC integration manifest
234126c drm/i915: Reject 'Center' scaling mode for eDP/DSI on GMCH platforms
f4ee265 drm/i915: Hook up pfit for DSI
062efa5 drm/i915: Eliminate {vlv,bxt}_configure_dsi_pll()
47eacba drm/i915: Compute DSI PLL parameters during .compute_config()
cd2d34d drm/i915: Setup DPLL/DPLLMD for DSI too on VLV/CHV
da6110b drm/i915/bxt: PORT_PLL_REF_SEL bit should be set for all BXT variations
ab24353 drm-intel-nightly: 2016y-04m-15d-13h-02m-57s UTC integration manifest


Tried w/:

commit b1acc63c4301f12ef2ca31872d937641aaf3c9dc
Author: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
Date:   Mon Apr 18 18:56:14 2016 +0300

    drm-intel-nightly: 2016y-04m-18d-15h-55m-43s UTC integration manifest</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 QA Contact for the bug.</li>
      </ul>
    </body>
</html>