All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported
@ 2022-04-22  6:02 Jouni Högander
  2022-04-22  7:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Jouni Högander @ 2022-04-22  6:02 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Currently we are seeing failures in ICL platforms due to
missing support for IGT_PLANE_FB_DAMAGE_CLIPS. Skip page-flip
tests if IGT_PLANE_FB_DAMAGE_CLIPS is not supported.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/4148

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
---
 tests/i915/kms_psr2_su.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/i915/kms_psr2_su.c b/tests/i915/kms_psr2_su.c
index 474b1dfd..0ce1f924 100644
--- a/tests/i915/kms_psr2_su.c
+++ b/tests/i915/kms_psr2_su.c
@@ -322,6 +322,13 @@ igt_main
 					 */
 					igt_skip("PSR2 selective fetch is doing full frame fetches for frontbuffer rendering\n");
 				}
+				if (data.op == PAGE_FLIP &&
+				    !igt_plane_has_prop(igt_output_get_plane_type(
+								data.output,
+								DRM_PLANE_TYPE_PRIMARY),
+							IGT_PLANE_FB_DAMAGE_CLIPS)) {
+					igt_skip("FB_DAMAGE_CLIPS not supported\n");
+				}
 				prepare(&data);
 				run(&data);
 				cleanup(&data);
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-04-26 14:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22  6:02 [igt-dev] [PATCH i-g-t] kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported Jouni Högander
2022-04-22  7:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-04-22  9:29 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-22 14:50 ` [igt-dev] ✗ GitLab.Pipeline: warning for kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported (rev2) Patchwork
2022-04-22 15:12 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-04-22 21:36 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-25  7:06 ` [igt-dev] ✓ Fi.CI.BAT: success for kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported (rev3) Patchwork
2022-04-25  8:26 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-25 13:36 ` [igt-dev] [PATCH i-g-t] kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported Souza, Jose
2022-04-26  5:23   ` Hogander, Jouni
2022-04-26 13:08     ` Souza, Jose
2022-04-26 13:31       ` Hogander, Jouni
2022-04-26 13:38         ` Souza, Jose
2022-04-26 14:25           ` Hogander, Jouni
2022-04-25 15:56 ` [igt-dev] ✓ Fi.CI.IGT: success for kms_psr2_su: Skip page-flip tests if FB_DAMAGE_CLIPS not supported (rev3) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.