<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45 Bisected]Boot system has <3>[ 1.894068] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags(DRM_MODE_FLAG_NHSYNC) (expected 2, found 0)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69791">69791</a>
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[GM45 Bisected]Boot system has <3>[    1.894068] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags(DRM_MODE_FLAG_NHSYNC) (expected 2, found 0)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=86505" name="attach_86505" title="dmesg">attachment 86505</a> <a href="attachment.cgi?id=86505&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Arch:           x86_64
Platform:       GM45
Kernel:         (drm-intel-nightly)15425dbba39114d8dfbb12f6ddb1f39d0cae144a

Bug detailed description:
-----------------------------
It happens on GM45 with -fixes, -nightly, -queued kernel.
Boot system, <3>[  1.894068] [drm:intel_pipe_config_compare] *ERROR* mismatch
in adjusted_mode.flags(DRM_MODE_FLAG_NHSYNC) (expected 2, found 0) appears in
dmesg.
It is the same as <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - igt/kms_flip/absolute-wf_vblank randomly causes <3>[ 1.211971] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 0, found 1)"
   href="show_bug.cgi?id=66482">Bug 66482</a>.

Bisect shows: 2960bc9cceecb5d556ce1c07656a6609e2f7e8b0 is the first bad commit.
commit 2960bc9cceecb5d556ce1c07656a6609e2f7e8b0
Author:     Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
AuthorDate: Tue Jul 30 13:36:32 2013 +0300
Commit:     Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
CommitDate: Mon Aug 5 19:04:05 2013 +0200

    drm/i915: make user mode sync polarity setting explicit

    Userspace can pass a mode with an unspecified vsync/hsync polarity
    setting. All encoders in the Intel driver take this to mean a negative
    polarity setting. The HW readout/state checker code on the other hand
    needs these flags to be explicitly set, otherwise the state checker will
    WARN about the mismatch.

    Get rid of the WARN by making the polarity setting explicit in the
    adjusted mode flags based on the requested mode flags. This will keep
    the existing behavior otherwise.

    Note that we could guess from the other timing parameters whether the
    user wanted a VESA or other standard mode and set the polarity
    accordingly. This is what the NV driver does
    (drivers/gpu/drm/nouveau/dispnv04/crtc.c), but I think that's not very
    exact and would change the existing behavior of the Intel driver.

    Bugzilla: <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - [HSW IVB ILK SNB bisected] I-G-T/testdisplay -f cause "*ERROR* mismatch in adjusted_mode.flags""
   href="show_bug.cgi?id=65442">https://bugs.freedesktop.org/show_bug.cgi?id=65442</a>
    Signed-off-by: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
    Tested-by: cancan,feng <<a href="mailto:cancan.feng@intel.com">cancan.feng@intel.com</a>>
    Reviewed-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Signed-off-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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>