kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc.
PATCH 1/1 kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc.
get_sink_crc() wants the eDP panel enabled to collect a CRC, but this is already required for opening the pipe CRC. This was broken in the conversion to igt_display, because the call to setup_sink_crc was moved.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105503
--- tests/kms_frontbuffer_tracking.c | 8 -------- 1 file changed, 8 deletions(-)
tests/kms_frontbuffer_tracking.c +0 -8
@@ -1448,14 +1448,6 @@ static void setup_sink_crc(void)return ; } -/* We need to make sure there's a mode set on the eDP screen and it's -* not on DPMS state, otherwise we fall into the "Unexpected sink CRC -* error" case. */ - prim_mode_params.primary.fb = &fbs[FORMAT_DEFAULT ].prim_pri; - prim_mode_params.primary.x = prim_mode_params.primary.y =0 ; -fill_fb_region (&prim_mode_params.primary,COLOR_PRIM_BG ); -set_mode_for_params (&prim_mode_params); - sink_crc.fd =openat (drm.debugfs,"i915_sink_crc_eDP1" ,O_RDONLY );igt_assert_lte (0 , sink_crc.fd);
Signature · 6 lines
2.16.3 _______________________________________________ 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: Remove unnecessary modeset from get_sink_crc.
== Series Details ==
== Series Details ==
Series: kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc.
URL : https://patchwork.freedesktop.org/series/41273/
State : success
== Summary ==
IGT patchset tested on top of latest successful build 8a7353abf41eb3dbbde240ac5f7ac26f92ed693a tests/kms_psr_sink_crc: Save runtime by not waiting in crc function
with latest DRM-Tip kernel build CI_DRM_40308ff6fb0c22f1 drm-tip: 2018y-04m-06d-12h-37m-26s UTC integration manifest
No testlist changes.
---- Known issues:
Test gem_mmap_gtt:
Subgroup basic-small-bo-tiledx:
pass -> FAIL (fi-gdg-551) fdo#102575
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-a:
incomplete -> PASS (fi-bdw-5557u) fdo#104944fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fdo#104944 https://bugs.freedesktop.org/show_bug.cgi?id=104944
fi-bdw-5557u total:285 pass:264 dwarn:0 dfail:0 fail:0 skip:21 time:437s fi-bdw-gvtdvm total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:444s fi-blb-e6850 total:285 pass:220 dwarn:1 dfail:0 fail:0 skip:64 time:384s fi-bsw-n3050 total:285 pass:239 dwarn:0 dfail:0 fail:0 skip:46 time:548s fi-bwr-2160 total:285 pass:180 dwarn:0 dfail:0 fail:0 skip:105 time:299s fi-bxt-dsi total:243 pass:216 dwarn:0 dfail:0 fail:0 skip:26 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:521s fi-byt-n2820 total:285 pass:246 dwarn:0 dfail:0 fail:0 skip:39 time:513s fi-cfl-8700k total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:413s fi-cfl-s3 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:563s fi-cfl-u total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:512s fi-cnl-y3 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:585s fi-elk-e7500 total:285 pass:226 dwarn:0 dfail:0 fail:0 skip:59 time:426s fi-gdg-551 total:285 pass:176 dwarn:0 dfail:0 fail:1 skip:108 time:314s fi-glk-1 total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:542s fi-glk-j4005 total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:485s fi-hsw-4770 total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:410s fi-ilk-650 total:285 pass:225 dwarn:0 dfail:0 fail:0 skip:60 time:422s fi-ivb-3520m total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:457s fi-ivb-3770 total:285 pass:252 dwarn:0 dfail:0 fail:0 skip:33 time:435s fi-kbl-7500u total:285 pass:260 dwarn:1 dfail:0 fail:0 skip:24 time:481s fi-kbl-7567u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:464s fi-kbl-r total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:508s fi-pnv-d510 total:285 pass:220 dwarn:1 dfail:0 fail:0 skip:64 time:669s fi-skl-6260u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:447s fi-skl-6600u total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:534s fi-skl-6700k2 total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:507s fi-skl-6770hq total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:503s fi-skl-guc total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:431s 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:592s fi-snb-2600 total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:399s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1234/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc.
URL : https://patchwork.freedesktop.org/series/41273/
State : failure
== Summary ==
---- Possible new issues:
Test gem_exec_create:
Subgroup forked:
pass -> INCOMPLETE (shard-apl)---- Known issues:
Test kms_flip:
Subgroup 2x-flip-vs-expired-vblank-interruptible:
fail -> PASS (shard-hsw) fdo#102887
Subgroup wf_vblank-ts-check:
fail -> PASS (shard-hsw) fdo#100368 +3
Test kms_plane_multiple:
Subgroup atomic-pipe-a-tiling-x:
pass -> FAIL (shard-snb) fdo#103166
Test kms_rotation_crc:
Subgroup sprite-rotation-180:
pass -> FAIL (shard-snb) fdo#103925
Test kms_setmode:
Subgroup basic:
fail -> PASS (shard-apl) fdo#99912fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
shard-apl total:2671 pass:1829 dwarn:1 dfail:0 fail:6 skip:834 time:11547s shard-hsw total:2680 pass:1784 dwarn:1 dfail:0 fail:3 skip:891 time:11374s shard-snb total:2680 pass:1376 dwarn:1 dfail:0 fail:4 skip:1299 time:6925s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1234/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
I confirm that this patch fix the issue at least on a HSW laptop.
Quoted 45 lines
-----Original Message-----
From: igt-dev [mailto:[email protected]] On Behalf Of Maarten Lankhorst
Sent: Friday, April 6, 2018 3:48 PM
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t]kms_frontbuffer_tracking: Remove unnecessary modeset fromget_sink_crc.
get_sink_crc()wants the eDP panel enabled to collect a CRC, but this is already required for opening the pipe CRC. This was broken in the conversion toigt_display, because the call tosetup_sink_crcwas moved.Signed-off-by Maarten Lankhorst <[email protected]>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105503
Reported-by Marta Löfstedt <[email protected]>--- tests/kms_frontbuffer_tracking.c | 8 -------- 1 file changed, 8 deletions(-)tests/kms_frontbuffer_tracking.c +0
-1@@ -1448,14 +1448,6 @@ static void setup_sink_crc(void)return ; } -/* We need to make sure there's a mode set on the eDP screen and it's
tests/kms_frontbuffer_tracking.c +0
-1-* not on DPMS state, otherwise we fall into the "Unexpected sink CRC
tests/kms_frontbuffer_tracking.c +0
-2- * error" case. */ - prim_mode_params.primary.fb =&fbs[FORMAT_DEFAULT].prim_pri;
tests/kms_frontbuffer_tracking.c +0
-1- prim_mode_params.primary.x =prim_mode_params.primary.y = 0;
tests/kms_frontbuffer_tracking.c +0
-1- fill_fb_region(&prim_mode_params.primary,
COLOR_PRIM_BG);tests/kms_frontbuffer_tracking.c +0
-2-set_mode_for_params (&prim_mode_params); - sink_crc.fd = openat(drm.debugfs, "i915_sink_crc_eDP1",
O_RDONLY);
igt_assert_lte(0, sink_crc.fd);
Quoted 7 lines
--
2.16.3_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Op 09-04-18 om 08:36 schreef Lofstedt, Marta:
Quoted 49 lines
I confirm that this patch fix the issue at least on a HSW laptop.
Reviewed-by Marta Lofstedt <[email protected]>Quoted 45 lines
-----Original Message-----
From: igt-dev [mailto:[email protected]] On Behalf Of Maarten Lankhorst
Sent: Friday, April 6, 2018 3:48 PM
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t]kms_frontbuffer_tracking: Remove unnecessary modeset fromget_sink_crc.
get_sink_crc()wants the eDP panel enabled to collect a CRC, but this is already required for opening the pipe CRC. This was broken in the conversion toigt_display, because the call tosetup_sink_crcwas moved.Signed-off-by Maarten Lankhorst <[email protected]>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105503
Reported-by Marta Löfstedt <[email protected]>--- tests/kms_frontbuffer_tracking.c | 8 -------- 1 file changed, 8 deletions(-)tests/kms_frontbuffer_tracking.c +0
-1@@ -1448,14 +1448,6 @@ static void setup_sink_crc(void)return ; } -/* We need to make sure there's a mode set on the eDP screen and it's
tests/kms_frontbuffer_tracking.c +0
-1-* not on DPMS state, otherwise we fall into the "Unexpected sink CRC
tests/kms_frontbuffer_tracking.c +0
-2- * error" case. */ - prim_mode_params.primary.fb =&fbs[FORMAT_DEFAULT].prim_pri;
tests/kms_frontbuffer_tracking.c +0
-1- prim_mode_params.primary.x =prim_mode_params.primary.y = 0;
tests/kms_frontbuffer_tracking.c +0
-1- fill_fb_region(&prim_mode_params.primary,
COLOR_PRIM_BG);tests/kms_frontbuffer_tracking.c +0
-2-set_mode_for_params (&prim_mode_params); - sink_crc.fd = openat(drm.debugfs, "i915_sink_crc_eDP1",
O_RDONLY);
igt_assert_lte(0, sink_crc.fd);
Quoted 7 lines
Quoted 7 lines
--
2.16.3_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
pushed, thanks for review. :)
~Maarten
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev