Bug 82233 - [SNB/BYT Bisected]igt/kms_universal_plane some subcases fail
Summary: [SNB/BYT Bisected]igt/kms_universal_plane some subcases fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: highest normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 08:15 UTC by Guo Jinxian
Modified: 2017-02-10 08:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.51 KB, text/plain)
2014-08-06 08:15 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-06 08:15:32 UTC
Created attachment 104140 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
Good commit on -next-queued:34548e510657af829032f23128c0c01ebe48ef21

Non-working platforms: SNB

==kernel==
--------------------------
origin/drm-intel-nightly: 79e44bfa10063ee529140e88fdc401c4ce07d644(fails)
    drm-intel-nightly: 2014y-08m-06d-00h-42m-38s integration manifest
origin/drm-intel-next-queued: 414863f8733f79e7e25283499fdede1ca987f216(fails)
    drm/i915: Don't accumulate hangcheck score on forward progress
origin/drm-intel-fixes: 96d56d71a3bcd0a0015034a8f3decc46cb9ec855(fails)
    drm/i915: Fix crash when failing to parse MIPI VBT

==Bug detailed description==
igt/kms_universal_plane subcases disable-primary-vs-flip-pipe-C and universal-plane-pipe-C-sanity fail

Output:
[root@x-sgb4 tests]# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-C
IGT-Version: 1.7-gac31f19 (i686) (Linux: 3.16.0_drm-intel-next-queued_414863_20140806+ i686)
Test assertion failure function igt_output_get_driving_pipe, file igt_kms.c:945:
Failed assertion: pipe >= 0 && pipe < display->n_pipes
Subtest disable-primary-vs-flip-pipe-C: FAIL


==Reproduce steps==
---------------------------- 
1. ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-C
Comment 1 Guo Jinxian 2014-08-07 01:54:28 UTC
c7dbc6c9ae5c3baa3be755a228a349374d043b5b is the first bad commit

commit c7dbc6c9ae5c3baa3be755a228a349374d043b5b
Author:     Matt Roper <matthew.d.roper@intel.com>
AuthorDate: Mon Jul 7 11:19:57 2014 -0700
Commit:     Dave Airlie <airlied@redhat.com>
CommitDate: Tue Jul 8 11:56:21 2014 +1000

    drm: Remove command line guard for universal planes
    
    Universal planes are ready to leave 'experimental' state so drop the
    kernel command line parameter that we've been hiding them behind.
    Userspace clients that wish to receive universal planes will still need
    to opt-in by setting the appropriate capability bit, so this should have
    no impact on existing userspace.
    
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
Comment 2 Guo Jinxian 2014-08-22 06:38:26 UTC
This bug still able to reproduce on latest -nightly(257d90d13794c2eb545ab0d6c708f21e2a0378b6) on BYT

root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-C
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140822+ x86_64)
Test assertion failure function igt_output_get_driving_pipe, file igt_kms.c:1060:
Failed assertion: pipe >= 0 && pipe < display->n_pipes
Subtest disable-primary-vs-flip-pipe-C: FAIL
Comment 3 Chris Wilson 2014-09-06 17:10:22 UTC
Baytrail famous for having 3 pipes... Oops.
Comment 4 Chris Wilson 2014-09-06 17:16:20 UTC
commit ac3d06094a635bfeb0c6d6752f7f7bfbc21ecf2a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Sep 6 18:14:35 2014 +0100

    igt/kms_universal_plane: Only test existing planes
    
    Only attempt to test the number of planes that exist on the device so as
    not to trigger spurious failures.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82233
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 5 Guo Jinxian 2014-09-30 03:44:56 UTC
The subcase was removed

root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_universal_plane
IGT-Version: 1.8-g32a0308 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_7101d8_20140929+ x86_64)
Testing connector eDP-1 using pipe A
Test assertion failure function functional_test_pipe, file kms_universal_plane.c:294:
Failed assertion: igt_crc_equal(&test.crc_5, &test.crc_9)
Subtest universal-plane-pipe-A-functional: FAIL (13.402s)
Subtest universal-plane-pipe-A-sanity: SUCCESS (4.513s)
Subtest disable-primary-vs-flip-pipe-A: SUCCESS (5.255s)
Testing connector eDP-1 using pipe B
Test assertion failure function functional_test_pipe, file kms_universal_plane.c:294:
Failed assertion: igt_crc_equal(&test.crc_5, &test.crc_9)
Subtest universal-plane-pipe-B-functional: FAIL (58.379s)
Subtest universal-plane-pipe-B-sanity: SUCCESS (3.751s)
Subtest disable-primary-vs-flip-pipe-B: SUCCESS (25.742s)
Comment 6 Jari Tahvanainen 2017-02-10 08:52:32 UTC
Closing (>2 years) old Verified+Fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.