diff options
| author | Naladala Ramanaidu <ramanaidu.naladala@intel.com> | 2026-08-11 01:15:15 +0530 |
|---|---|---|
| committer | Naladala Ramanaidu <ramanaidu.naladala@intel.com> | 2026-08-12 00:28:56 +0530 |
| commit | f3dde2dea0c1663e5ef81e90a28028a6dfbfd8c4 (patch) | |
| tree | 655a1d8425e5e4165f49f7a4b32a0e548fbf599d | |
| parent | c932d7952a1e7de7a8b949808d41ae548f18e24a (diff) | |
tests/intel/kms_psr2_sf: Restrict ET validation to eDP only
The current driver supports Early Transport (ET) only for eDP
Panel Replay. Running this check on other connector types can
lead to invalid results. Restrict the validation to eDP to keep
the test aligned with current behavior and avoid unnecessary
failures.
v2: Update code comment.
v3: Update code comment.
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Reviewed-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
| -rw-r--r-- | tests/intel/kms_psr2_sf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 1cc57ad35..eec916c25 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -238,6 +238,13 @@ typedef struct { static bool is_et_check_needed(data_t *data) { + /* + * ET is supported only on eDP. + */ + if (data->output->config.connector->connector_type != + DRM_MODE_CONNECTOR_eDP) + return false; + switch (data->psr_mode) { case PR_MODE_SEL_FETCH: case PR_MODE_SEL_FETCH_ET: |
