[igt-dev] [PATCH i-g-t 1/6] tests/kms_invalid_dotclock: Rename to kms_invalid_mode

Ville Syrjala ville.syrjala at linux.intel.com
Thu Sep 16 15:35:10 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Let's add some more tests for invalid modes. To that end rename
the current kms_invalid_dotclock to kms_invalid_mode so we a
place where to put these.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/i915/{kms_invalid_dotclock.c => kms_invalid_mode.c} | 2 +-
 tests/meson.build                                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename tests/i915/{kms_invalid_dotclock.c => kms_invalid_mode.c} (99%)

diff --git a/tests/i915/kms_invalid_dotclock.c b/tests/i915/kms_invalid_mode.c
similarity index 99%
rename from tests/i915/kms_invalid_dotclock.c
rename to tests/i915/kms_invalid_mode.c
index 95136d366dd7..dc30e6bb5444 100644
--- a/tests/i915/kms_invalid_dotclock.c
+++ b/tests/i915/kms_invalid_mode.c
@@ -25,7 +25,7 @@
 #include "igt.h"
 #include <stdbool.h>
 
-IGT_TEST_DESCRIPTION("Make sure all modesets are rejected when the requested dotclock is too high");
+IGT_TEST_DESCRIPTION("Make sure all modesets are rejected when the requested mode is invalid");
 
 typedef struct {
 	int drm_fd;
diff --git a/tests/meson.build b/tests/meson.build
index 8ad52596a491..3e3090e5d8b4 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -228,7 +228,7 @@ i915_progs = [
 	'kms_flip_scaled_crc',
 	'kms_flip_tiling',
 	'kms_frontbuffer_tracking',
-	'kms_invalid_dotclock',
+	'kms_invalid_mode',
 	'kms_legacy_colorkey',
 	'kms_mmap_write_crc',
 	'kms_pipe_b_c_ivb',
-- 
2.32.0



More information about the igt-dev mailing list