tests/kms_nv12: Add nv12 specific tests.
PATCH 1/1 tests/kms_nv12: Add nv12 specific tests.
Add tests excercising switching between various scaled/unscaled transitions to and from NV12, since some of the workarounds mention this may fail.
We also add NV12 specific clipping/scaling tests, to make sure that NV12 src coordinates are always programmed as a multiple of 4 correctly, and verify scaling/clipping works with CRC tests.
--- tests/Makefile.sources | 1 + tests/kms_nv12.c | 402 ++++++++++++++++++++++++++++++++++++++ tests/kms_plane_scaling.c | 13 +- tests/meson.build | 1 + 4 files changed, 409 insertions(+), 8 deletions(-) create mode 100644 tests/kms_nv12.c
tests/Makefile.sources +1 -0
@@ -194,6 +194,7 @@ TESTS_progs = \ kms_invalid_dotclock \ kms_legacy_colorkey \ kms_mmap_write_crc \ + kms_nv12 \ kms_panel_fitting \ kms_pipe_b_c_ivb \ kms_pipe_crc_basic \
tests/kms_nv12.c new file +402 -0
402 lines not on this page · raw message
tests/kms_plane_scaling.c +5 -8
@@ -571,23 +571,20 @@ igt_mainigt_display_require_output_on_pipe (&data.display, pipe);igt_require (get_num_scalers (data.devid, pipe) >0 ); + output =igt_get_single_output_for_pipe (&data.display, pipe); } igt_subtest_f("pipe-%s-plane-scaling", kmstest_pipe_name(pipe)) -for_each_valid_output_on_pipe (&data.display, pipe, output) -test_plane_scaling_on_pipe (&data, pipe, output); +test_plane_scaling_on_pipe (&data, pipe, output); igt_subtest_f("pipe-%s-scaler-with-pixel-format", kmstest_pipe_name(pipe)) -for_each_valid_output_on_pipe (&data.display, pipe, output) -test_scaler_with_pixel_format_pipe (&data, pipe, output); +test_scaler_with_pixel_format_pipe (&data, pipe, output); igt_subtest_f("pipe-%s-scaler-with-rotation", kmstest_pipe_name(pipe)) -for_each_valid_output_on_pipe (&data.display, pipe, output) -test_scaler_with_rotation_pipe (&data, pipe, output); +test_scaler_with_rotation_pipe (&data, pipe, output); igt_subtest_f("pipe-%s-scaler-with-clipping-clamping", kmstest_pipe_name(pipe)) -for_each_valid_output_on_pipe (&data.display, pipe, output) -test_scaler_with_clipping_clamping_scenario (&data, pipe, output); +test_scaler_with_clipping_clamping_scenario (&data, pipe, output); }igt_subtest_f ("2x-scaler-multi-pipe" )
tests/meson.build +1 -0
@@ -170,6 +170,7 @@ test_progs = [ 'kms_invalid_dotclock', 'kms_legacy_colorkey', 'kms_mmap_write_crc', + 'kms_nv12', 'kms_panel_fitting', 'kms_pipe_b_c_ivb', 'kms_pipe_crc_basic',
Signature · 6 lines
2.17.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_nv12: Add nv12 specific tests. (rev2)
== Series Details ==
== Series Details ==
Series: tests/kms_nv12: Add nv12 specific tests. (rev2)
URL : https://patchwork.freedesktop.org/series/41882/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4177 -> IGTPW_1355 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41882/revisions/2/mbox/
== Known issues ==
Here are the changes found in IGTPW_1355 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_suspend@basic-s4-devices:
fi-kbl-7500u: PASS -> DMESG-WARN (fdo#105128)
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106235)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-snb-2520m: PASS -> INCOMPLETE (fdo#103713)
igt@pm_rpm@basic-rte:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106097) +3
==== Possible fixes ====
igt@drv_module_reload@basic-reload:
fi-glk-j4005: DMESG-WARN (fdo#106248) -> PASS fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#105128 https://bugs.freedesktop.org/show_bug.cgi?id=105128
fdo#106097 https://bugs.freedesktop.org/show_bug.cgi?id=106097
fdo#106235 https://bugs.freedesktop.org/show_bug.cgi?id=106235
fdo#106248 https://bugs.freedesktop.org/show_bug.cgi?id=106248
== Participating hosts (41 -> 37) ==
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-skl-6700hq
== Build changes ==
* IGT: IGT_4477 -> IGTPW_1355
CI_DRM_4177: 2a481dd2c319c85c0233d292c5d08a8dce0784cd @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1355: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1355/
IGT_4477: 395c23946b44b071cc376f488a3205bedb02b382 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4477: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
== Testlist changes ==
+igt@kms_nv12@pipe-a-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-a-nv12-rgb-switch
+igt@kms_nv12@pipe-a-valid-width
+igt@kms_nv12@pipe-b-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-b-nv12-rgb-switch
+igt@kms_nv12@pipe-b-valid-width
+igt@kms_nv12@pipe-c-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-c-nv12-rgb-switch
+igt@kms_nv12@pipe-c-valid-width
+igt@kms_nv12@pipe-d-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-d-nv12-rgb-switch
+igt@kms_nv12@pipe-d-valid-width
+igt@kms_nv12@pipe-e-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-e-nv12-rgb-switch
+igt@kms_nv12@pipe-e-valid-width
+igt@kms_nv12@pipe-f-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-f-nv12-rgb-switch
+igt@kms_nv12@pipe-f-valid-width
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1355/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 tests/kms_nv12: Add nv12 specific tests. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: tests/kms_nv12: Add nv12 specific tests. (rev2)
URL : https://patchwork.freedesktop.org/series/41882/
State : failure
== Summary ==
= CI Bug Log - changes from IGT_4477_full -> IGTPW_1355_full =
== Summary - FAILURE ==
Serious unknown changes coming with IGTPW_1355_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1355_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41882/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1355_full:
=== IGT changes ===
==== Possible regressions ====
igt@gem_eio@in-flight-immediate:
shard-apl: PASS -> DMESG-WARN +6== Known issues ==
Here are the changes found in IGTPW_1355_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_flip@2x-dpms-vs-vblank-race-interruptible:
shard-hsw: PASS -> FAIL (fdo#103060) +1
igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
shard-glk: PASS -> FAIL (fdo#105707)
igt@kms_flip@2x-plain-flip-fb-recreate:
shard-glk: PASS -> FAIL (fdo#100368)
igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
shard-hsw: PASS -> FAIL (fdo#103928)
igt@kms_flip_tiling@flip-x-tiled:
shard-glk: PASS -> FAIL (fdo#104724, fdo#103822)
igt@kms_rotation_crc@primary-rotation-180:
shard-hsw: PASS -> FAIL (fdo#104724, fdo#103925)
igt@kms_rotation_crc@primary-rotation-270:
shard-apl: PASS -> FAIL (fdo#104724, fdo#103925)
==== Possible fixes ====
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
shard-glk: FAIL (fdo#106509) -> PASS
igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
shard-glk: FAIL (fdo#100368) -> PASS +3
igt@kms_flip@absolute-wf_vblank-interruptible:
shard-glk: FAIL (fdo#106087) -> PASS
igt@kms_flip@flip-vs-expired-vblank:
shard-glk: FAIL (fdo#102887) -> PASS
igt@kms_flip_tiling@flip-to-x-tiled:
shard-glk: FAIL (fdo#104724, fdo#103822) -> PASS
igt@kms_rotation_crc@sprite-rotation-180:
shard-snb: FAIL (fdo#104724, fdo#103925) -> PASS +1 fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103822 https://bugs.freedesktop.org/show_bug.cgi?id=103822
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#105707 https://bugs.freedesktop.org/show_bug.cgi?id=105707
fdo#106087 https://bugs.freedesktop.org/show_bug.cgi?id=106087
fdo#106509 https://bugs.freedesktop.org/show_bug.cgi?id=106509
== Participating hosts (5 -> 4) ==
Missing (1): shard-kbl
== Build changes ==
* IGT: IGT_4477 -> IGTPW_1355
* Linux: CI_DRM_4175 -> CI_DRM_4177
CI_DRM_4175: a57366b6029ac86436ad36bbf8b9a31549ef2905 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4177: 2a481dd2c319c85c0233d292c5d08a8dce0784cd @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1355: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1355/
IGT_4477: 395c23946b44b071cc376f488a3205bedb02b382 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4477: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1355/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_nv12: Add nv12 specific tests. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: tests/kms_nv12: Add nv12 specific tests. (rev2)
URL : https://patchwork.freedesktop.org/series/41882/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4182 -> IGTPW_1359 =
== Summary - WARNING ==
Minor unknown changes coming with IGTPW_1359 need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1359, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41882/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1359:
=== IGT changes ===
==== Warnings ====
igt@gem_exec_gttfill@basic:
fi-pnv-d510: SKIP -> PASS== Known issues ==
Here are the changes found in IGTPW_1359 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_module_reload@basic-reload:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106248, fdo#106235)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
fi-cnl-psr: PASS -> DMESG-WARN (fdo#104951)
fi-cnl-y3: PASS -> DMESG-WARN (fdo#104951)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-snb-2520m: PASS -> INCOMPLETE (fdo#103713)
igt@prime_vgem@basic-fence-flip:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106097, fdo#106000)
==== Possible fixes ====
igt@kms_chamelium@dp-crc-fast:
fi-kbl-7500u: DMESG-FAIL (fdo#103841) -> PASS
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-cfl-s3: FAIL (fdo#103928, fdo#100368) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#104951 https://bugs.freedesktop.org/show_bug.cgi?id=104951
fdo#106000 https://bugs.freedesktop.org/show_bug.cgi?id=106000
fdo#106097 https://bugs.freedesktop.org/show_bug.cgi?id=106097
fdo#106235 https://bugs.freedesktop.org/show_bug.cgi?id=106235
fdo#106248 https://bugs.freedesktop.org/show_bug.cgi?id=106248
== Participating hosts (42 -> 41) ==
Missing (1): fi-hsw-4200u
== Build changes ==
* IGT: IGT_4479 -> IGTPW_1359
* Piglit: piglit_4479 -> piglit_4480
CI_DRM_4182: 74146e495c113f6cf8721bb55feec6b459199cd4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1359: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1359/
IGT_4479: 89ae332745e31a075747a63ac5acc5baccf75769 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4479: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
piglit_4480: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
== Testlist changes ==
+igt@kms_nv12@pipe-a-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-a-nv12-rgb-switch
+igt@kms_nv12@pipe-a-valid-width
+igt@kms_nv12@pipe-b-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-b-nv12-rgb-switch
+igt@kms_nv12@pipe-b-valid-width
+igt@kms_nv12@pipe-c-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-c-nv12-rgb-switch
+igt@kms_nv12@pipe-c-valid-width
+igt@kms_nv12@pipe-d-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-d-nv12-rgb-switch
+igt@kms_nv12@pipe-d-valid-width
+igt@kms_nv12@pipe-e-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-e-nv12-rgb-switch
+igt@kms_nv12@pipe-e-valid-width
+igt@kms_nv12@pipe-f-nv12-rgb-scaled-switch
+igt@kms_nv12@pipe-f-nv12-rgb-switch
+igt@kms_nv12@pipe-f-valid-width
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1359/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_nv12: Add nv12 specific tests. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: tests/kms_nv12: Add nv12 specific tests. (rev2)
URL : https://patchwork.freedesktop.org/series/41882/
State : success
== Summary ==
= CI Bug Log - changes from IGT_4479_full -> IGTPW_1359_full =
== Summary - WARNING ==
Minor unknown changes coming with IGTPW_1359_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1359_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41882/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1359_full:
=== IGT changes ===
==== Warnings ====
igt@gem_exec_schedule@deep-bsd1:
shard-kbl: PASS -> SKIP +1
igt@gem_mocs_settings@mocs-rc6-dirty-render:
shard-kbl: SKIP -> PASS +3== Known issues ==
Here are the changes found in IGTPW_1359_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_selftest@live_gtt:
shard-apl: PASS -> INCOMPLETE (fdo#103927)
igt@drv_selftest@mock_sanitycheck:
shard-glk: PASS -> DMESG-WARN (fdo#106525)
igt@gem_eio@in-flight-1us:
shard-apl: PASS -> DMESG-WARN (fdo#106523) +5
igt@gem_eio@in-flight-contexts-10ms:
shard-kbl: PASS -> DMESG-WARN (fdo#106523) +1
shard-hsw: PASS -> DMESG-WARN (fdo#106523)
igt@gem_exec_await@wide-contexts:
shard-glk: PASS -> FAIL (fdo#105900)
igt@kms_flip@2x-plain-flip-ts-check:
shard-glk: PASS -> FAIL (fdo#100368)
igt@kms_flip@blocking-wf_vblank:
shard-hsw: PASS -> FAIL (fdo#103928)
igt@kms_flip@busy-flip-interruptible:
shard-apl: PASS -> FAIL (fdo#103257)
igt@kms_flip_tiling@flip-x-tiled:
shard-glk: PASS -> FAIL (fdo#104724)
igt@kms_nv12@pipe-b-valid-width:
shard-kbl: NOTRUN -> DMESG-FAIL (fdo#104724) +1
igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
shard-snb: PASS -> FAIL (fdo#104724, fdo#103166)
igt@kms_rotation_crc@sprite-rotation-180:
shard-snb: PASS -> FAIL (fdo#103925, fdo#104724)
==== Possible fixes ====
igt@gem_eio@hibernate:
shard-hsw: DMESG-WARN (fdo#106523) -> PASS +6
igt@gem_eio@in-flight-external:
shard-kbl: DMESG-WARN (fdo#106523) -> PASS
igt@gem_eio@in-flight-internal-immediate:
shard-glk: DMESG-WARN (fdo#106523) -> PASS +8
igt@gem_eio@in-flight-suspend:
shard-apl: DMESG-WARN (fdo#106523) -> PASS +5
igt@gem_eio@unwedge-stress:
shard-snb: DMESG-WARN (fdo#106523) -> PASS +6
igt@gem_ppgtt@blt-vs-render-ctxn:
shard-kbl: INCOMPLETE (fdo#106023, fdo#103665) -> PASS
igt@kms_atomic_transition@1x-modeset-transitions-nonblocking-fencing:
shard-glk: FAIL (fdo#105703) -> PASS +1
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
shard-glk: FAIL (fdo#105454) -> PASS
igt@kms_flip@plain-flip-fb-recreate-interruptible:
shard-glk: FAIL (fdo#100368) -> PASS +1
igt@kms_flip_tiling@flip-to-x-tiled:
shard-glk: FAIL (fdo#104724) -> PASS
igt@kms_vblank@pipe-b-ts-continuation-suspend:
shard-kbl: INCOMPLETE (fdo#103665) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103257 https://bugs.freedesktop.org/show_bug.cgi?id=103257
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#105454 https://bugs.freedesktop.org/show_bug.cgi?id=105454
fdo#105703 https://bugs.freedesktop.org/show_bug.cgi?id=105703
fdo#105900 https://bugs.freedesktop.org/show_bug.cgi?id=105900
fdo#106023 https://bugs.freedesktop.org/show_bug.cgi?id=106023
fdo#106523 https://bugs.freedesktop.org/show_bug.cgi?id=106523
fdo#106525 https://bugs.freedesktop.org/show_bug.cgi?id=106525
== Participating hosts (5 -> 5) ==
No changes in participating hosts
== Build changes ==
* IGT: IGT_4479 -> IGTPW_1359
* Linux: CI_DRM_4178 -> CI_DRM_4182
* Piglit: piglit_4479 -> piglit_4480
CI_DRM_4178: 8213a085ddd82871fab4bf94d1a3555fcdf9e6ac @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4182: 74146e495c113f6cf8721bb55feec6b459199cd4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1359: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1359/
IGT_4479: 89ae332745e31a075747a63ac5acc5baccf75769 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4479: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
piglit_4480: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1359/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev