Bug 70603 - [Regression]igt/kms_flip/flip-vs-bad-tiling skip
Summary: [Regression]igt/kms_flip/flip-vs-bad-tiling skip
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 08:39 UTC by lu hua
Modified: 2017-10-06 14:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (79.01 KB, text/plain)
2013-10-18 08:40 UTC, lu hua
no flags Details

Description lu hua 2013-10-18 08:39:30 UTC
System Environment:
--------------------------
Platform:  Pineview
Kernel:   (drm-intel-nightly)164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-----------------------------
It skip on pineview with -nightly and -queued kernel, and works well on -fixes kernel.
igt/kms_flip/flip-vs-bad-tiling-interruptible also has this issue.

The latest known good commit: 391f75e2bf13f105d9e4a120736ccdd8e3bc638b
The latest known bad commit: de568bf91dbe255dfc8aae49736f4071015a9201

output:
Using monotonic timestamps
no crtc with a compatible encoder (crtc_idx_mask 00000001)
no crtc with a compatible encoder (crtc_idx_mask 00000001)
Beginning flip-vs-bad-tiling on crtc 4, connector 5
Test requirement not met in function set_y_tiling, file kms_flip.c:600:
Test requirement: (!(__gem_set_tiling(drm_fd, r->handle, 2, fb_info->stride) == 0))
Subtest flip-vs-bad-tiling: SKIP
Test assertion failure function set_connector_dpms, file kms_flip.c:269:
Failed assertion: found_it
DPMS property not found on 5

Reproduce steps:
----------------------------
1. ./kms_flip --run-subtest flip-vs-bad-tiling
Comment 1 lu hua 2013-10-18 08:40:08 UTC
Created attachment 87814 [details]
dmesg
Comment 2 Daniel Vetter 2013-10-18 14:02:50 UTC
Yeah, we've changed the kernel semantics a bit which means this corner-case test is now impossible. Hence why it skips on dinq, but still runs in -fixes.

So expected change, thanks for catching this quickly.
Comment 3 lu hua 2013-10-22 07:54:11 UTC
Test on latest -nightly kernel.
output:
Using monotonic timestamps
Beginning flip-vs-bad-tiling on crtc 3, connector 9
Test requirement not met in function set_y_tiling, file kms_flip.c:611:
Test requirement: (!(__gem_set_tiling(drm_fd, r->handle, 2, fb_info->stride) == 0))
Subtest flip-vs-bad-tiling: SKIP
Test assertion failure function set_connector_dpms, file kms_flip.c:274:
Failed assertion: found_it
DPMS property not found on 9

It also happens on ILK/SNB/IVB/HSW.
Comment 4 Daniel Vetter 2013-10-22 08:45:56 UTC
(In reply to comment #3)
> Test on latest -nightly kernel.
> output:
> Using monotonic timestamps
> Beginning flip-vs-bad-tiling on crtc 3, connector 9
> Test requirement not met in function set_y_tiling, file kms_flip.c:611:
> Test requirement: (!(__gem_set_tiling(drm_fd, r->handle, 2, fb_info->stride)
> == 0))
> Subtest flip-vs-bad-tiling: SKIP
> Test assertion failure function set_connector_dpms, file kms_flip.c:274:
> Failed assertion: found_it
> DPMS property not found on 9
> 
> It also happens on ILK/SNB/IVB/HSW.

Please read comment #2 again. The SKIP result here is expected on latest kernels.
Comment 5 lu hua 2013-10-25 07:42:03 UTC
Verified.Fixed.
Comment 6 Elizabeth 2017-10-06 14:42:30 UTC
Closing old verified.


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.