Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2] tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel
@ 2022-05-16  3:52 Karthik B S
  2022-05-16  4:58 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel (rev2) Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Karthik B S @ 2022-05-16  3:52 UTC (permalink / raw)
  To: igt-dev

Max clock limit calculation isn't valid with DSC.
Skip the test on DSC panels.

Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4402

Signed-off-by: Karthik B S <karthik.b.s@intel.com>
---
 tests/kms_invalid_mode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index bb92a94e..cf011a17 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -73,6 +73,8 @@ adjust_mode_clock_too_high(data_t *data, drmModeModeInfoPtr mode)
 	int max_dotclock = data->max_dotclock;
 
 	igt_require(max_dotclock != 0);
+	igt_require(!igt_is_dsc_supported(data->drm_fd,
+					  data->output->config.connector));
 
 	/*
 	 * FIXME When we have a fixed mode, the kernel will ignore
-- 
2.22.0

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

end of thread, other threads:[~2022-05-18 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-16  3:52 [igt-dev] [PATCH i-g-t v2] tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel Karthik B S
2022-05-16  4:58 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel (rev2) Patchwork
2022-05-16  5:58 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-05-17  7:48 ` [igt-dev] [PATCH i-g-t v2] tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel Ville Syrjälä
2022-05-17 18:29   ` Navare, Manasi
2022-05-18 12:38     ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox