[PATCH i-g-t] tests/intel/kms_cdclk: Skip mode-transition subtest on eDP outputs with fixed modes
Swati Sharma
swati2.sharma at intel.com
Fri May 23 09:16:52 UTC 2025
eDP panels typically advertise a limited set of fixed modes, often with
minimal variation (e.g., only differing in refresh rate). As a result,
the computed CDCLK frequency for both high and low refresh rate modes
can be identical, preventing a CDCLK bump and causing the test to fail
unnecessarily.
To avoid such false negatives, skip the CDCLK bump test on eDP outputs
and restrict testing to external outputs like DP and HDMI, where a wider
range of modes is available and CDCLK bumps can be meaningfully
validated.
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
tests/intel/kms_cdclk.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/intel/kms_cdclk.c b/tests/intel/kms_cdclk.c
index 0c7c235f3..4c6dd9276 100644
--- a/tests/intel/kms_cdclk.c
+++ b/tests/intel/kms_cdclk.c
@@ -325,6 +325,13 @@ static void run_cdclk_test(data_t *data, uint32_t flags)
enum pipe pipe;
for_each_pipe_with_valid_output(display, pipe, output) {
+ drmModeConnectorPtr c = output->config.connector;
+
+ /* Skip eDP outputs as they typically have fixed
+ * modes and won't trigger CDCLK bump. */
+ if (c->connector_type == DRM_MODE_CONNECTOR_eDP)
+ continue;
+
igt_output_set_pipe(output, pipe);
if (!intel_pipe_output_combo_valid(display)) {
igt_output_set_pipe(output, PIPE_NONE);
--
2.25.1
More information about the igt-dev
mailing list