[Bug 83640] New: [BDW bisected]igt/kms_plane some subcases fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 8 19:31:42 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83640

          Priority: high
            Bug ID: 83640
                CC: intel-gfx-bugs at lists.freedesktop.org
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [BDW bisected]igt/kms_plane some subcases fail
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jinxianx.guo at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

Created attachment 105941
  --> https://bugs.freedesktop.org/attachment.cgi?id=105941&action=edit
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 at 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 at 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ä <ville.syrjala at linux.intel.com>
AuthorDate: Mon Sep 1 18:08:25 2014 +0300
Commit:     Daniel Vetter <daniel.vetter at ffwll.ch>
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 <thomas.wood at intel.com>
     Date:   Wed Aug 20 14:45:00 2014 +0100

        drm: fix plane rotation when restoring fbdev configuration

     commit d91a2cb8e5104233c02bbde539bd4ee455ec12ac
     Author: Sonika Jindal <sonika.jindal at intel.com>
     Date:   Fri Aug 22 14:06:04 2014 +0530

        drm/i915: Add 180 degree primary plane rotation support

    Cc: Thomas Wood <thomas.wood at intel.com>
    Cc: Sonika Jindal <sonika.jindal at intel.com>
    Tested-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
    Tested-by: Alan Stern <stern at rowland.harvard.edu>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140909/0002a412/attachment.html>


More information about the intel-gfx-bugs mailing list