kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
PATCH 1/1 kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
Either the main link in standby mode or hw enabled is enough to say that PSR is activated, so just use both.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105519
--- tests/kms_frontbuffer_tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_frontbuffer_tracking.c +1 -1
@@ -781,7 +781,7 @@ static bool psr_is_enabled(void)char buf[256 ];debugfs_read ("i915_edp_psr_status" , buf); -return strstr (buf,"\nActive: yes\n" ) && +return strstr (buf,"\nMain link in standby mode: yes\n" ) ||strstr (buf,"\nHW Enabled & Active bit: yes\n" ); }
Signature · 6 lines
2.16.2 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Op 16-03-18 om 17:16 schreef Maarten Lankhorst:
Quoted 14 lines
Either the main link in standby mode or hw enabled is enough to say that PSR is activated, so just use both.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105519
Signed-off-by Maarten Lankhorst <[email protected]>--- tests/kms_frontbuffer_tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/kms_frontbuffer_tracking.c +0
-0
tests/kms_frontbuffer_tracking.c static bool psr_is_enabled(void) · line 787
Quoted 8 lines
tests/kms_frontbuffer_tracking.c +1
-1@@ -781,7 +781,7 @@ static bool psr_is_enabled(void)char buf[256 ];debugfs_read ("i915_edp_psr_status" , buf); -return strstr (buf,"\nActive: yes\n" ) && +return strstr (buf,"\nMain link in standby mode: yes\n" ) ||strstr (buf,"\nHW Enabled & Active bit: yes\n" ); }
Nm, other patch is better, carry on. :)
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
URL : https://patchwork.freedesktop.org/series/40107/
State : success
== Summary ==
IGT patchset tested on top of latest successful build 98f7614bd725afaae48f7b70d18329149075661b lib: Parse plane IN_FORMATS blobifiers into a nicer form
with latest DRM-Tip kernel build CI_DRM_394266a3be2efe09 drm-tip: 2018y-03m-16d-16h-32m-51s UTC integration manifest
No testlist changes.
---- Known issues:
Test gem_mmap_gtt:
Subgroup basic-small-bo-tiledx:
pass -> FAIL (fi-gdg-551) fdo#102575fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fi-bdw-5557u total:285 pass:264 dwarn:0 dfail:0 fail:0 skip:21 time:433s fi-bdw-gvtdvm total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:448s fi-blb-e6850 total:285 pass:220 dwarn:1 dfail:0 fail:0 skip:64 time:382s fi-bsw-n3050 total:285 pass:239 dwarn:0 dfail:0 fail:0 skip:46 time:547s fi-bwr-2160 total:285 pass:180 dwarn:0 dfail:0 fail:0 skip:105 time:300s fi-bxt-j4205 total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:515s fi-byt-j1900 total:285 pass:250 dwarn:0 dfail:0 fail:0 skip:35 time:520s fi-byt-n2820 total:285 pass:246 dwarn:0 dfail:0 fail:0 skip:39 time:514s fi-cfl-8700k total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:409s fi-cfl-s2 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:583s fi-cfl-u total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:514s fi-cnl-drrs total:285 pass:254 dwarn:3 dfail:0 fail:0 skip:28 time:538s fi-cnl-y3 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:588s fi-elk-e7500 total:285 pass:225 dwarn:1 dfail:0 fail:0 skip:59 time:432s fi-gdg-551 total:285 pass:176 dwarn:0 dfail:0 fail:1 skip:108 time:322s fi-glk-1 total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:537s fi-hsw-4770 total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:401s fi-ilk-650 total:285 pass:225 dwarn:0 dfail:0 fail:0 skip:60 time:425s fi-ivb-3520m total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:473s fi-ivb-3770 total:285 pass:252 dwarn:0 dfail:0 fail:0 skip:33 time:427s fi-kbl-7500u total:285 pass:260 dwarn:1 dfail:0 fail:0 skip:24 time:474s fi-kbl-7567u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:468s fi-kbl-r total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:514s fi-pnv-d510 total:285 pass:219 dwarn:1 dfail:0 fail:0 skip:65 time:653s fi-skl-6260u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:444s fi-skl-6600u total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:537s fi-skl-6700hq total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:542s fi-skl-6700k2 total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:506s fi-skl-6770hq total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:495s fi-skl-guc total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:429s fi-skl-gvtdvm total:285 pass:262 dwarn:0 dfail:0 fail:0 skip:23 time:445s fi-snb-2520m total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:586s fi-snb-2600 total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:400s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1153/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: warning for kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
URL : https://patchwork.freedesktop.org/series/40107/
State : warning
== Summary ==
---- Possible new issues:
Test kms_cursor_crc:
Subgroup cursor-128x128-suspend:
skip -> PASS (shard-snb)
Test pm_rc6_residency:
Subgroup rc6-accuracy:
pass -> SKIP (shard-snb)---- Known issues:
Test gem_softpin:
Subgroup noreloc-s3:
pass -> SKIP (shard-snb) fdo#103375
Test kms_rotation_crc:
Subgroup primary-rotation-180:
pass -> FAIL (shard-snb) fdo#103925
Test perf:
Subgroup blocking:
fail -> PASS (shard-hsw) fdo#102252fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
shard-apl total:3442 pass:1815 dwarn:1 dfail:0 fail:7 skip:1619 time:13152s shard-hsw total:3442 pass:1768 dwarn:1 dfail:0 fail:1 skip:1671 time:11949s shard-snb total:3442 pass:1356 dwarn:1 dfail:0 fail:3 skip:2082 time:7143s
Blacklisted hosts:
shard-kbl total:3377 pass:1902 dwarn:1 dfail:0 fail:10 skip:1463 time:9533s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1153/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev