<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 --- - [BDW bisected]igt/kms_plane some subcases fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83640">83640</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>[BDW bisected]igt/kms_plane some subcases fail
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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=105941" name="attach_105941" title="dmesg">attachment 105941</a> <a href="attachment.cgi?id=105941&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes.
Bisected

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 4a3d32734bdcef6813b31f06a58430436e98711e(fails)
    drm-intel-nightly: 2014y-09m-08d-18h-33m-01s integration manifest
origin/drm-intel-next-queued: 9c787942907face82da505c2c5493998b56cfc5a(fails)
    drm/i915: Decouple the stuck pageflip on modeset
origin/drm-intel-fixes: 25fc92b99f65bec7d7c747c0305f048d7b19cc44(fails)
    drm/i915: Fix EIO/wedged handling in gem fault handler

==Bug detailed description==
-----------------------------
igt/kms_plane some subcases fail

Case list:
igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-1
igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-2
igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-1
igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-2
igt/kms_plane/plane-panning-top-left-pipe-B-plane-1
igt/kms_plane/plane-panning-top-left-pipe-B-plane-2
igt/kms_plane/plane-panning-top-left-pipe-C-plane-1
igt/kms_plane/plane-panning-top-left-pipe-C-plane-2
igt/kms_plane/plane-position-covered-pipe-B-plane-1
igt/kms_plane/plane-position-covered-pipe-B-plane-2
igt/kms_plane/plane-position-covered-pipe-C-plane-1
igt/kms_plane/plane-position-covered-pipe-C-plane-2
igt/kms_plane/plane-position-hole-pipe-B-plane-1
igt/kms_plane/plane-position-hole-pipe-B-plane-2
igt/kms_plane/plane-position-hole-pipe-C-plane-1
igt/kms_plane/plane-position-hole-pipe-C-plane-2

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane
--run-subtest plane-position-covered-pipe-C-plane-1
IGT-Version: 1.7-gac3d060 (x86_64) (Linux:
3.17.0-rc2_drm-intel-nightly_51c49e_20140908+ x86_64)
Testing connector eDP-1 using pipe C plane 1
Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1707:
Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0
Last errno: 16, Device or resource busy
Subtest plane-position-covered-pipe-C-plane-1: FAIL (4.073s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# echo $?
99

==Reproduce steps==
---------------------------- 
1. ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1

==Bisect results==
----------------------------
Bisect shows: ab60c84d87edffe6555fc9f1703e8f9074d06416 is the first bad commit
commit ab60c84d87edffe6555fc9f1703e8f9074d06416
Author:     Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
AuthorDate: Mon Sep 1 18:08:25 2014 +0300
Commit:     Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
CommitDate: Tue Sep 2 17:25:47 2014 +0200

    drm/i915: Don't call intel_plane_restore() when the prop value didn't
change

    No point in calling intel_plane_restore() in .set_property() if the
    value didn't change.

    More importantly this papers over a bug where the current primary plane
    code forgets to update the user coordinates we store under intel_plane
    unless the primary plane .update_plane() hook is actually called. This
    means we have 0 in the coordinates straight after boot and any call
    to intel_restore_plane() (such as from restore_fbdev_mode()) will
    actually turn off the primary plane. This mess needs to be fixed properly
    but that's a bigger task and the first step there is killing off
    intel_pipe_set_base() and just calling the primary plane
    .update_plane() hook. For the immediate problem of black screen after
    boot this small patch is enough to hide it.

    The problem originates from these two commits:
     commit 3a5f87c286515c54ff5c52c3e64d0c522b7570c0
     Author: Thomas Wood <<a href="mailto:thomas.wood@intel.com">thomas.wood@intel.com</a>>
     Date:   Wed Aug 20 14:45:00 2014 +0100

        drm: fix plane rotation when restoring fbdev configuration

     commit d91a2cb8e5104233c02bbde539bd4ee455ec12ac
     Author: Sonika Jindal <<a href="mailto:sonika.jindal@intel.com">sonika.jindal@intel.com</a>>
     Date:   Fri Aug 22 14:06:04 2014 +0530

        drm/i915: Add 180 degree primary plane rotation support

    Cc: Thomas Wood <<a href="mailto:thomas.wood@intel.com">thomas.wood@intel.com</a>>
    Cc: Sonika Jindal <<a href="mailto:sonika.jindal@intel.com">sonika.jindal@intel.com</a>>
    Tested-by: Mika Kuoppala <<a href="mailto:mika.kuoppala@linux.intel.com">mika.kuoppala@linux.intel.com</a>>
    Signed-off-by: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
    Reviewed-by: Damien Lespiau <<a href="mailto:damien.lespiau@intel.com">damien.lespiau@intel.com</a>>
    Tested-by: Alan Stern <<a href="mailto:stern@rowland.harvard.edu">stern@rowland.harvard.edu</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>