[i-g-t V6 5/8] tests/intel/kms_pm_lpsp: Force joiner support in bigjoiner checks
B, Jeevan
jeevan.b at intel.com
Thu Jun 27 06:58:34 UTC 2024
LGTM
Reviewed-by: Jeevan B <jeevan.b at intel.com>
> -----Original Message-----
> From: Modem, Bhanuprakash <bhanuprakash.modem at intel.com>
> Sent: Tuesday, June 18, 2024 1:53 PM
> To: igt-dev at lists.freedesktop.org; B, Jeevan <jeevan.b at intel.com>
> Cc: Modem, Bhanuprakash <bhanuprakash.modem at intel.com>; Joshi, Kunal1
> <kunal1.joshi at intel.com>
> Subject: [i-g-t V6 5/8] tests/intel/kms_pm_lpsp: Force joiner support in bigjoiner
> checks
>
> 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