tests/kms_atomic: Match overlay size with primary plane on amdgpu
PATCH 1/1 tests/kms_atomic: Match overlay size with primary plane on amdgpu
From: Mark Yacoub <[email protected]>
[Why]
AMDGPU has a restriction of not allowing overlay planes that do not fully cover the primary plane when the cursor is enabled. Testing with an overlay smaller than primary fails the commit.
[How]
On amdgpu, force the overlay size and src to match the primary plane, but test with a smaller size on all other platforms.
--- tests/kms_atomic.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-)
tests/kms_atomic.c +20 -6
@@ -491,13 +491,27 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,igt_remove_fb (display->drm_fd, &fb_upper); } -static void plane_overlay (igt_pipe_t *pipe,igt_output_t *output,igt_plane_t *plane) +static void plane_overlay (igt_pipe_t * pipe,igt_output_t * output,igt_plane_t * plane,int drm_fd) {drmModeModeInfo *mode =igt_output_get_mode (output);uint32_t format =plane_get_igt_format (plane);struct igt_fb fb; -uint32_t w = mode->hdisplay /2 ; -uint32_t h = mode->vdisplay /2 ; +uint32_t w, h, x, y; + +/* On AMD, with hardware cursor, overlay plane must fully cover the primary plane. +* Test with smaller overlays on all other platforms. */ +if (is_amdgpu_device (drm_fd)) { + w = mode->hdisplay; + h = mode->vdisplay; + x =0 ; + y =0 ; + } +else { + w = mode->hdisplay /2 ; + h = mode->vdisplay /2 ; + x = w /2 ; + y = h /2 ; + }igt_require (format !=0 );
@@ -505,7 +519,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p format, I915_TILING_NONE, &fb);igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);/* Enable the overlay plane using the atomic API, and double-check * state is what we think it should be. */
@@ -519,7 +533,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p/* Re-enable the plane through the legacy plane API, and verify through * atomic. */ igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);plane_commit (plane,COMMIT_LEGACY ,ATOMIC_RELAX_NONE );/* Restore the plane to its original settings through the legacy plane
@@ -1113,7 +1127,7 @@ igt_mainigt_require (overlay);atomic_setup (&display, pipe, output, primary, &fb); -plane_overlay (pipe_obj, output, overlay); +plane_overlay (pipe_obj, output, overlay, display.drm_fd); } igt_describe("Test for KMS atomic modesetting on primary plane and ensure coherency between "
Signature · 6 lines
2.31.1.818.g46aad6cb9e-goog _______________________________________________ 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_atomic: Match overlay size with primary plane on amdgpu (rev3)
== Series Details ==
== Series Details ==
Series: tests/kms_atomic: Match overlay size with primary plane on amdgpu (rev3)
URL : https://patchwork.freedesktop.org/series/90482/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10127 -> IGTPW_5845
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/index.html
Known issues
------------
Here are the changes found in IGTPW_5845 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-gfx:
- fi-hsw-4770: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#109315]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-hsw-4770: NOTRUN -> [WARN][2] ([i915#2283])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-hsw-4770: NOTRUN -> [SKIP][3] ([fdo#109271]) +4 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-hsw-4770: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#3012])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][5] ([fdo#109271] / [fdo#111827]) +8 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-hsw-4770: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#533])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-hsw-4770: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#1072]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@kms_psr@primary_mmap_gtt.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-hsw-4770: [INCOMPLETE][8] -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/fi-hsw-4770/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-hsw-4770/igt@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-glk-dsi: [FAIL][10] ([i915#3363] / [k.org#202321]) -> [FAIL][11] ([i915#2426] / [i915#3363] / [k.org#202321])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/fi-glk-dsi/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-glk-dsi/igt@[email protected]
- fi-cml-u2: [FAIL][12] ([i915#2082] / [i915#2426] / [i915#3363] / [i915#3462]) -> [FAIL][13] ([i915#3363] / [i915#3462])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/fi-cml-u2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-cml-u2/igt@[email protected]
- fi-cfl-guc: [FAIL][14] ([i915#2426] / [i915#3363]) -> [FAIL][15] ([i915#3363])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/fi-cfl-guc/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/fi-cfl-guc/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2082]: https://gitlab.freedesktop.org/drm/intel/issues/2082
[i915#2283]: https://gitlab.freedesktop.org/drm/intel/issues/2283
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2932]: https://gitlab.freedesktop.org/drm/intel/issues/2932
[i915#2966]: https://gitlab.freedesktop.org/drm/intel/issues/2966
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[k.org#202321]: https://bugzilla.kernel.org/show_bug.cgi?id=202321
Participating hosts (41 -> 33)
------------------------------
Missing (8): fi-kbl-soraka fi-rkl-11500t fi-bsw-cyan fi-apl-guc fi-dg1-1 fi-ivb-3770 fi-cml-drallion fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6092 -> IGTPW_5845
CI-20190529: 20190529
CI_DRM_10127: d6d3a2a996af7a82e567e96a19410ac9d7246794 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5845: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/index.html
IGT_6092: d87087c321da07035d4f96d98c34e451b3ccb809 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/index.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_atomic: Match overlay size with primary plane on amdgpu (rev3)
In reply to Mark Yacoub== Series Details ==
== Series Details ==
Series: tests/kms_atomic: Match overlay size with primary plane on amdgpu (rev3)
URL : https://patchwork.freedesktop.org/series/90482/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10127_full -> IGTPW_5845_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_5845_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_5845_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://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_5845_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rpm@debugfs-forcewake-user:
- shard-iclb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-0:
- shard-glk: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-glk7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk8/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_5845_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-clear:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#1888] / [i915#3160])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-glk3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk8/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-kbl: [PASS][7] -> [DMESG-WARN][8] ([i915#180])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-kbl2/igt@gem_ctx_isolation@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed:
- shard-snb: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#1099]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-snb2/igt@[email protected]
* igt@gem_ctx_sseu@invalid-args:
- shard-tglb: NOTRUN -> [SKIP][10] ([i915#280])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb1/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][11] -> [TIMEOUT][12] ([i915#2369] / [i915#3063])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-tglb7/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
- shard-snb: NOTRUN -> [FAIL][13] ([i915#3354])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-snb5/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-kbl: NOTRUN -> [FAIL][14] ([i915#2846])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl1/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][15] -> [FAIL][16] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-tglb2/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][17] -> [FAIL][18] ([i915#2842])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-iclb1/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-tglb: NOTRUN -> [FAIL][19] ([i915#2842]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb3/igt@gem_exec_fair@[email protected]
- shard-iclb: NOTRUN -> [FAIL][20] ([i915#2842])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb4/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][21] ([i915#2842])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][22] -> [FAIL][23] ([i915#2842])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-glk7/igt@gem_exec_fair@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [PASS][24] -> [FAIL][25] ([i915#2842])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-kbl2/igt@gem_exec_fair@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: NOTRUN -> [FAIL][26] ([i915#2849])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@secure-non-master:
- shard-tglb: NOTRUN -> [SKIP][27] ([fdo#112283])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][28] ([fdo#112283])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@gem_media_vme:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#284])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@gem_media_vme.html
* igt@gem_mmap_gtt@big-copy:
- shard-glk: [PASS][30] -> [FAIL][31] ([i915#307]) +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-glk8/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk7/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy:
- shard-apl: NOTRUN -> [INCOMPLETE][32] ([i915#3468]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl7/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-odd:
- shard-tglb: [PASS][33] -> [INCOMPLETE][34] ([i915#2910] / [i915#3468])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-tglb8/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-tglb: [PASS][35] -> [INCOMPLETE][36] ([i915#3468]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-tglb8/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb2/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-medium-copy-xy:
- shard-iclb: [PASS][37] -> [INCOMPLETE][38] ([i915#3468])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-iclb2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@[email protected]
* igt@gem_mmap_gtt@fault-concurrent:
- shard-kbl: NOTRUN -> [INCOMPLETE][39] ([i915#3468])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl3/igt@[email protected]
* igt@gem_mmap_gtt@medium-copy-xy:
- shard-kbl: [PASS][40] -> [INCOMPLETE][41] ([i915#2502] / [i915#3468])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-kbl3/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][42] ([i915#2658]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb7/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][43] ([i915#2658]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk7/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][44] ([i915#2658]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl7/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][45] ([i915#2658]) +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-kbl: NOTRUN -> [WARN][46] ([i915#2658]) +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@[email protected]
* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-kbl: NOTRUN -> [SKIP][47] ([fdo#109271]) +269 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl1/igt@[email protected]
* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][48] ([i915#768]) +3 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@gem_softpin@evict-snoop-interruptible:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109312])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb3/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][50] ([i915#3002])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl6/igt@[email protected]
* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#3297])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#3297])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb5/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-apl: NOTRUN -> [FAIL][53] ([i915#3318])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl6/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#112306]) +3 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@gen9_exec_parse@bb-start-out:
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#112306]) +4 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb6/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][56] -> [FAIL][57] ([i915#454])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-iclb5/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb4/igt@[email protected]
* igt@i915_pm_lpsp@screens-disabled:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#1902])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb1/igt@[email protected]
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109289] / [fdo#111719])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109293] / [fdo#109506])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][61] ([fdo#109506] / [i915#2411])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb7/igt@[email protected]
* igt@i915_query@query-topology-known-pci-ids:
- shard-tglb: NOTRUN -> [SKIP][62] ([fdo#109303])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109303])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@[email protected]
* igt@i915_selftest@live@execlists:
- shard-iclb: NOTRUN -> [DMESG-FAIL][64] ([i915#3462])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb3/igt@i915_selftest@[email protected]
- shard-kbl: NOTRUN -> [DMESG-FAIL][65] ([i915#3462])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@i915_selftest@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-iclb: NOTRUN -> [SKIP][66] ([i915#1769])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#1769])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][68] ([fdo#111614]) +3 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][69] ([fdo#110725] / [fdo#111614]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][70] ([fdo#110723])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@[email protected]
* igt@kms_big_joiner@basic:
- shard-glk: NOTRUN -> [SKIP][71] ([fdo#109271] / [i915#2705]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk3/igt@[email protected]
* igt@kms_big_joiner@invalid-modeset:
- shard-iclb: NOTRUN -> [SKIP][72] ([i915#2705])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb5/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#2705])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][74] ([fdo#109271] / [i915#2705])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][75] ([i915#2705])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb6/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm:
- shard-iclb: NOTRUN -> [SKIP][76] ([fdo#109284] / [fdo#111827]) +12 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb3/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-glk: NOTRUN -> [SKIP][77] ([fdo#109271] / [fdo#111827]) +23 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk8/igt@[email protected]
* igt@kms_chamelium@dp-mode-timings:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [fdo#111827]) +24 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl2/igt@[email protected]
* igt@kms_color@pipe-c-degamma:
- shard-iclb: NOTRUN -> [FAIL][79] ([i915#1149])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][80] ([i915#1149])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-snb: NOTRUN -> [SKIP][81] ([fdo#109271] / [fdo#111827]) +27 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-snb5/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-degamma:
- shard-kbl: NOTRUN -> [SKIP][82] ([fdo#109271] / [fdo#111827]) +28 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-tglb: NOTRUN -> [SKIP][83] ([fdo#109284] / [fdo#111827]) +14 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb3/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-green-to-red:
- shard-iclb: NOTRUN -> [SKIP][84] ([fdo#109278] / [fdo#109284] / [fdo#111827]) +1 similar issue
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@[email protected]
* igt@kms_content_protection@atomic:
- shard-kbl: NOTRUN -> [TIMEOUT][85] ([i915#1319]) +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-iclb: NOTRUN -> [SKIP][86] ([i915#3116])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][87] ([i915#3116])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][88] ([i915#2105])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][89] ([fdo#111828])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][90] ([i915#2105])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][91] ([fdo#109300] / [fdo#111066])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x170-sliding:
- shard-tglb: NOTRUN -> [SKIP][92] ([fdo#109279] / [i915#3359]) +2 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][93] ([i915#180]) +4 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-offscreen:
- shard-tglb: NOTRUN -> [SKIP][94] ([i915#3319]) +2 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-onscreen:
- shard-iclb: NOTRUN -> [SKIP][95] ([fdo#109278] / [fdo#109279]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x85-onscreen:
- shard-kbl: [PASS][96] -> [FAIL][97] ([i915#3444])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-kbl2/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#3359]) +7 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x32-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][99] ([fdo#109278]) +30 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size:
- shard-iclb: NOTRUN -> [SKIP][100] ([fdo#109274] / [fdo#109278]) +3 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_dp_tiled_display@basic-test-pattern:
- shard-iclb: NOTRUN -> [SKIP][101] ([i915#426])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank:
- shard-iclb: NOTRUN -> [SKIP][102] ([fdo#109274]) +6 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@kms_flip@2x-flip-vs-wf_vblank.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-apl: NOTRUN -> [SKIP][103] ([fdo#109271] / [i915#2672])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-glk: NOTRUN -> [SKIP][104] ([fdo#109271] / [i915#2642])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-shrfb-fliptrack-mmap-gtt:
- shard-iclb: NOTRUN -> [SKIP][105] ([fdo#109280]) +25 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-cpu:
- shard-glk: NOTRUN -> [SKIP][106] ([fdo#109271]) +170 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk5/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-onoff:
- shard-snb: NOTRUN -> [SKIP][107] ([fdo#109271]) +464 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-snb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-tglb: NOTRUN -> [SKIP][108] ([fdo#111825]) +36 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-cpu.html
* igt@kms_hdr@static-toggle-dpms:
- shard-tglb: NOTRUN -> [SKIP][109] ([i915#1187])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][110] ([i915#1187])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb3/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][111] ([i915#1839])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][112] ([i915#1839])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-kbl: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#533]) +1 similar issue
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl1/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][114] ([fdo#109271] / [i915#533])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][115] ([fdo#108145] / [i915#265]) +2 similar issues
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][116] ([i915#265]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl6/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][117] ([i915#265]) +1 similar issue
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][118] ([fdo#108145] / [i915#265]) +2 similar issues
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][119] ([fdo#108145] / [i915#265]) +3 similar issues
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl2/igt@[email protected]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][120] ([fdo#111615]) +3 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb3/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-kbl: NOTRUN -> [SKIP][121] ([fdo#109271] / [i915#2733])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_prime@basic-crc@first-to-second:
- shard-iclb: NOTRUN -> [SKIP][122] ([i915#1836])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@kms_prime@[email protected]
- shard-tglb: NOTRUN -> [SKIP][123] ([i915#1836])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@kms_prime@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-iclb: NOTRUN -> [SKIP][124] ([i915#658]) +2 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][125] ([fdo#109271] / [i915#658]) +5 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-kbl7/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5:
- shard-apl: NOTRUN -> [SKIP][126] ([fdo#109271] / [i915#658]) +5 similar issues
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-apl2/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][127] ([fdo#109271] / [i915#658]) +4 similar issues
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-glk3/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area-0:
- shard-tglb: NOTRUN -> [SKIP][128] ([i915#2920]) +3 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][129] ([i915#2920])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][130] -> [SKIP][131] ([fdo#109441]) +1 similar issue
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10127/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb6/igt@kms_psr@psr2_cursor_render.html
* igt@kms_psr@psr2_primary_render:
- shard-tglb: NOTRUN -> [FAIL][132] ([i915#132] / [i915#3467])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb5/igt@kms_psr@psr2_primary_render.html
* igt@kms_psr@psr2_sprite_render:
- shard-tglb: NOTRUN -> [FAIL][133] ([i915#132])
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-tglb8/igt@kms_psr@psr2_sprite_render.html
- shard-iclb: NOTRUN -> [SKIP][134] ([fdo#109441]) +1 similar issue
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-iclb8/igt@kms_psr@psr2_sprite_render.html
* igt@kms_setmode@basic:
- shard-snb: NOTRUN -> [FAIL][135] ([i915#31])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/shard-snb7/igt@[email protected]
* igt@kms_vblank@pipe-d-ts
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5845/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 10 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
[Why]
AMDGPU has a restriction of not allowing overlay planes that do not fully cover the primary plane when the cursor is enabled. Testing with an overlay smaller than primary fails the commit.[How]
On amdgpu, force the overlay size and src to match the primary plane, but test with a smaller size on all other platforms.
Hi Mark,
That's a nice patch, and I understand the background behind it. However, I don't think we need to change kms_atomic, mainly because we are not enabling cursor in this test. Also, I recently applied a patch for dealing with cursors in this situation; this test does not fail in the latest amd-staging-drm-next.
Thanks
Siqueira
Quoted 60 lines
Signed-off-by [email protected]--- tests/kms_atomic.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-)tests/kms_atomic.c +19
-5@@ -491,13 +491,27 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,igt_remove_fb (display->drm_fd, &fb_upper); } -static void plane_overlay (igt_pipe_t *pipe,igt_output_t *output,igt_plane_t *plane) +static void plane_overlay (igt_pipe_t * pipe,igt_output_t * output,igt_plane_t * plane,int drm_fd) {drmModeModeInfo *mode =igt_output_get_mode (output);uint32_t format =plane_get_igt_format (plane);struct igt_fb fb; -uint32_t w = mode->hdisplay /2 ; -uint32_t h = mode->vdisplay /2 ; +uint32_t w, h, x, y; + +/* On AMD, with hardware cursor, overlay plane must fully cover the primary plane. +* Test with smaller overlays on all other platforms. */ +if (is_amdgpu_device (drm_fd)) { + w = mode->hdisplay; + h = mode->vdisplay; + x =0 ; + y =0 ; + } +else { + w = mode->hdisplay /2 ; + h = mode->vdisplay /2 ; + x = w /2 ; + y = h /2 ; + }igt_require (format !=0 );@@ -505,7 +519,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p format, I915_TILING_NONE, &fb);igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);/* Enable the overlay plane using the atomic API, and double-check * state is what we think it should be. */ @@ -519,7 +533,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p/* Re-enable the plane through the legacy plane API, and verify through * atomic. */ igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);plane_commit (plane,COMMIT_LEGACY ,ATOMIC_RELAX_NONE );/* Restore the plane to its original settings through the legacy plane
tests/kms_atomic.c igt_main · line 1133
Quoted 8 lines
tests/kms_atomic.c +1
-1@@ -1113,7 +1127,7 @@ igt_mainigt_require (overlay);atomic_setup (&display, pipe, output, primary, &fb); -plane_overlay (pipe_obj, output, overlay); +plane_overlay (pipe_obj, output, overlay, display.drm_fd); } igt_describe("Test for KMS atomic modesetting on primary plane and ensure coherency between "
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 17 lines · Rodrigo Siqueira Jordao
Quoted 10 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
[Why]
AMDGPU has a restriction of not allowing overlay planes that do not fully cover the primary plane when the cursor is enabled. Testing with an overlay smaller than primary fails the commit.[How]
On amdgpu, force the overlay size and src to match the primary plane, but test with a smaller size on all other platforms.Hi Mark,
Quoted 9 lines
That's a nice patch, and I understand the background behind it. However, I don't think we need to change
kms_atomic, mainly because we are not enabling cursor in this test. Also, I recently applied a patch for dealing with cursors in this situation; this test does not fail in the latest amd-staging-drm-next.Thanks
Siqueira
Hi Siqueira, Thanks for letting me know. Would you mind backporting this patch that fixes it on ChromeOS? or just point me to the right commit and I can do that on my end. Thanks!
Quoted 61 lines
Quoted 61 lines
Signed-off-by [email protected]--- tests/kms_atomic.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-)tests/kms_atomic.c +19
-5@@ -491,13 +491,27 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,igt_remove_fb (display->drm_fd, &fb_upper); } -static void plane_overlay (igt_pipe_t *pipe,igt_output_t *output,igt_plane_t *plane) +static void plane_overlay (igt_pipe_t * pipe,igt_output_t * output,igt_plane_t * plane,int drm_fd) {drmModeModeInfo *mode =igt_output_get_mode (output);uint32_t format =plane_get_igt_format (plane);struct igt_fb fb; -uint32_t w = mode->hdisplay /2 ; -uint32_t h = mode->vdisplay /2 ; +uint32_t w, h, x, y; + +/* On AMD, with hardware cursor, overlay plane must fully cover the primary plane. +* Test with smaller overlays on all other platforms. */ +if (is_amdgpu_device (drm_fd)) { + w = mode->hdisplay; + h = mode->vdisplay; + x =0 ; + y =0 ; + } +else { + w = mode->hdisplay /2 ; + h = mode->vdisplay /2 ; + x = w /2 ; + y = h /2 ; + }igt_require (format !=0 );@@ -505,7 +519,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p format, I915_TILING_NONE, &fb);igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);/* Enable the overlay plane using the atomic API, and double-check * state is what we think it should be. */ @@ -519,7 +533,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p/* Re-enable the plane through the legacy plane API, and verify through * atomic. */ igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);plane_commit (plane,COMMIT_LEGACY ,ATOMIC_RELAX_NONE );/* Restore the plane to its original settings through the legacy plane @@ -1113,7 +1127,7 @@ igt_mainigt_require (overlay);
Quoted 8 lines
tests/kms_atomic.c igt_main · line 1133
Quoted 7 lines
tests/kms_atomic.c +1
-1atomic_setup (&display, pipe, output, primary, &fb); -plane_overlay (pipe_obj, output, overlay); +plane_overlay (pipe_obj, output, overlay, display.drm_fd); } igt_describe("Test for KMS atomic modesetting on primary plane and ensure coherency between "
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 25 lines · Mark Yacoub
Quoted 23 lines · Rodrigo Siqueira Jordao
Quoted 10 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
[Why]
AMDGPU has a restriction of not allowing overlay planes that do not fully cover the primary plane when the cursor is enabled. Testing with an overlay smaller than primary fails the commit.[How]
On amdgpu, force the overlay size and src to match the primary plane, but test with a smaller size on all other platforms.Hi Mark,
That's a nice patch, and I understand the background behind it. However, I don't think we need to change
kms_atomic, mainly because we are not enabling cursor in this test. Also, I recently applied a patch for dealing with cursors in this situation; this test does not fail in the latest amd-staging-drm-next.
Quoted 6 lines
Quoted 3 lines
Thanks
SiqueiraHi Siqueira, Thanks for letting me know. Would you mind backporting this patch that fixes it on ChromeOS? or just point me to the right commit and I can do that on my end. Thanks!
Hi Mark,
Tbh, I'm still not sure if ChromeOS wants my fix. We are discussing it in a thread named:
[PATCH] drm/amd/display: Fix overlay validation by considering cursors
If we decide to go ahead with that, I'll be glad to backport it to ChromeOS for learn about the backport process.
Thanks
Siqueira
Quoted 69 lines
Quoted 69 lines
Quoted 68 lines
Signed-off-by [email protected]--- tests/kms_atomic.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-)tests/kms_atomic.c +20
-6@@ -491,13 +491,27 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,igt_remove_fb (display->drm_fd, &fb_upper); } -static void plane_overlay (igt_pipe_t *pipe,igt_output_t *output,igt_plane_t *plane) +static void plane_overlay (igt_pipe_t * pipe,igt_output_t * output,igt_plane_t * plane,int drm_fd) {drmModeModeInfo *mode =igt_output_get_mode (output);uint32_t format =plane_get_igt_format (plane);struct igt_fb fb; -uint32_t w = mode->hdisplay /2 ; -uint32_t h = mode->vdisplay /2 ; +uint32_t w, h, x, y; + +/* On AMD, with hardware cursor, overlay plane must fully cover the primary plane. +* Test with smaller overlays on all other platforms. */ +if (is_amdgpu_device (drm_fd)) { + w = mode->hdisplay; + h = mode->vdisplay; + x =0 ; + y =0 ; + } +else { + w = mode->hdisplay /2 ; + h = mode->vdisplay /2 ; + x = w /2 ; + y = h /2 ; + }igt_require (format !=0 );@@ -505,7 +519,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p format, I915_TILING_NONE, &fb);igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);/* Enable the overlay plane using the atomic API, and double-check * state is what we think it should be. */ @@ -519,7 +533,7 @@ static void plane_overlay(igt_pipe_t *pipe, igt_output_t *output, igt_plane_t *p/* Re-enable the plane through the legacy plane API, and verify through * atomic. */ igt_plane_set_fb (plane, &fb); -igt_plane_set_position (plane, w/2 , h/2 ); +igt_plane_set_position (plane, x, y);plane_commit (plane,COMMIT_LEGACY ,ATOMIC_RELAX_NONE );/* Restore the plane to its original settings through the legacy plane @@ -1113,7 +1127,7 @@ igt_mainigt_require (overlay);atomic_setup (&display, pipe, output, primary, &fb); -plane_overlay (pipe_obj, output, overlay); +plane_overlay (pipe_obj, output, overlay, display.drm_fd); } igt_describe("Test for KMS atomic modesetting on primary plane and ensure coherency between "
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev