[i-g-t V2 3/6] tests/intel/kms_pm_lpsp: Force joiner support in bigjoiner checks
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Thu Apr 18 09:19:56 UTC 2024
As we recently introduced the option (through debugfs) to
force the bigjoiner, needs to extend the support in bigjoiner
checks to handle the force joiner.
Cc: Kunal Joshi <kunal1.joshi at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/intel/kms_pm_lpsp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c
index a76b423f4..f9ac508fb 100644
--- a/tests/intel/kms_pm_lpsp.c
+++ b/tests/intel/kms_pm_lpsp.c
@@ -163,6 +163,9 @@ static bool test_constraint(data_t *data)
mode = igt_output_get_mode(data->output);
/* For LPSP avoid Bigjoiner. */
+ if (igt_check_force_joiner_status(data->drm_fd, data->output->name))
+ return false;
+
if (igt_bigjoiner_possible(mode, max_dotclock)) {
for_each_connector_mode(data->output) {
mode = &data->output->config.connector->modes[j__];
--
2.43.2
More information about the igt-dev
mailing list