Bug 89496 - [SNB]igt/kms_universal_plane/cursor-fb-leak-pipe-b fail
Summary: [SNB]igt/kms_universal_plane/cursor-fb-leak-pipe-b fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 07:50 UTC by Ding Heng
Modified: 2017-07-03 08:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (125.33 KB, text/plain)
2015-03-09 07:50 UTC, Ding Heng
no flags Details

Description Ding Heng 2015-03-09 07:50:19 UTC
Created attachment 114145 [details]
dmesg

==System Environment==
--------------------------
Regression: No, this issue always exist.


Non-working platforms: SNB

==kernel==
--------------------------
origin/drm-intel-nightly: c2f6e584b215dd0d7e5a8a02716a89e985366ec0(2015-03-08)

==Bug detailed description==
-----------------------------
[root@x-hnr9 tests]# ./kms_universal_plane --run-subtest cursor-fb-leak-pipe-B
IGT-Version: 1.9-g50158de (x86_64) (Linux: 4.0.0-rc2_drm-intel-nightly_c2f6e5_20150307+ x86_64)
Test assertion failure function cursor_leak_test_pipe, file kms_universal_plane.c:633:
Failed assertion: count1 == count2
error: 1 != 11
Subtest cursor-fb-leak-pipe-B failed.
Log Start
    LVDS-1: SetPlane B.2, fb 54, position (100, 100)
display: }
display: B.2: plane_set_fb(55)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 55, position (100, 100)
display: }
display: B.2: plane_set_fb(56)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 56, position (100, 100)
display: }
display: B.2: plane_set_fb(57)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 57, position (100, 100)
display: }
display: B.2: plane_set_fb(58)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 58, position (100, 100)
display: }
display: B.2: plane_set_fb(59)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 59, position (100, 100)
display: }
display: B.2: plane_set_fb(60)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 60, position (100, 100)
display: }
display: B.2: plane_set_fb(61)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 61, position (100, 100)
display: }
display: B.2: plane_set_fb(62)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 62, position (100, 100)
display: }
display: B.2: plane_set_fb(63)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetPlane B.2, fb 63, position (100, 100)
display: }
display: B.2: plane_set_fb(54)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 2 64x64
display: }
display: B.2: plane_set_fb(55)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 3 64x64
display: }
display: B.2: plane_set_fb(56)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 4 64x64
display: }
display: B.2: plane_set_fb(57)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 5 64x64
display: }
display: B.2: plane_set_fb(58)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 6 64x64
display: }
display: B.2: plane_set_fb(59)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 7 64x64
display: }
display: B.2: plane_set_fb(60)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 8 64x64
display: }
display: B.2: plane_set_fb(61)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 9 64x64
display: }
display: B.2: plane_set_fb(62)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 10 64x64
display: }
display: B.2: plane_set_fb(63)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCursor pipe B, fb 11 64x64
display: }
display: B.0: plane_set_fb(0)
display: B.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe B
display:     LVDS-1: SetCrtc pipe B, disabling
display:     LVDS-1: SetCursor pipe B, disabling
display: }
display: LVDS-1: set_pipe(any)
Test requirement passed: fp
Test assertion failure function cursor_leak_test_pipe, file kms_universal_plane.c:633:
Failed assertion: count1 == count2
error: 1 != 11
Log End
Subtest cursor-fb-leak-pipe-B: FAIL (1.665s)


==Reproduce steps==
---------------------------- 
1. ./kms_universal_plane --run-subtest cursor-fb-leak-pipe-B
Comment 1 Matt Roper 2015-03-10 16:28:04 UTC
This should be fixed by Chris Wilson's patch:

commit 9a6f5130143c17b91e0a3cbf5cc2d8c1e5a80a63
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Feb 25 13:45:26 2015 +0000

    drm: Don't assign fbs for universal cursor support to files

which should now be in di-nightly.  Please reopen if you still see this bug.
Comment 2 Ding Heng 2015-03-11 02:17:26 UTC
(In reply to Matt Roper from comment #1)
> This should be fixed by Chris Wilson's patch:
> 
> commit 9a6f5130143c17b91e0a3cbf5cc2d8c1e5a80a63
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Feb 25 13:45:26 2015 +0000
> 
>     drm: Don't assign fbs for universal cursor support to files
> 
> which should now be in di-nightly.  Please reopen if you still see this bug.


Commit 9a6f5130143c17b91e0a3cbf5cc2d8c1e5a80a63 pass. Change state to verified.
Comment 3 Jari Tahvanainen 2017-07-03 08:52:56 UTC
Closing 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.