<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 - i195: modesetting stops working on kernel 4.17, works fine on 4.16"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106804">106804</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>i195: modesetting stops working on kernel 4.17, works fine on 4.16
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>arekm@maven.pl
          </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></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=140000" name="attach_140000" title="xorg log">attachment 140000</a> <a href="attachment.cgi?id=140000&action=edit" title="xorg log">[details]</a></span>
xorg log

xserver 1.20, kernel 4.17 and modesetting fails:

[   126.170] (EE) modeset(0): failed to set mode: Invalid argument

while it works fine on 4.16 kernel.

Bisected to commit below and indeed, reverting it on current
kernel git makes the problem go away.



commit e995ca0b8139c5f6807095464e969931b443f55a
Author: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
Date:   Tue Nov 14 20:32:58 2017 +0200

    drm/i915: Provide a device level .mode_valid() hook

    We never support certain mode flags etc. Reject those early on in the
    mode_config.mode_valid() hook. That allows us to remove some duplicated
    checks from the connector .mode_valid() hooks, and it guarantees that
    we never see those flags even from user mode as the
    mode_config.mode_valid() hooks gets executed for those as well.

    Signed-off-by: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
    Link:
<a href="https://patchwork.freedesktop.org/patch/msgid/20171114183258.16976-11-ville.syrjala@linux.intel.com">https://patchwork.freedesktop.org/patch/msgid/20171114183258.16976-11-ville.syrjala@linux.intel.com</a>
    Reviewed-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>></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>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>