[i-g-t,2/2] tests/intel/kms_dirtyfb: Fix DRRS status check

Joshi, Kunal1 kunal1.joshi at intel.com
Tue Feb 27 13:54:08 UTC 2024


On 2/21/2024 4:53 PM, Bhanuprakash Modem wrote:
> Fix assertion check for DRRS status.
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Both patch LGTM
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
>   tests/intel/kms_dirtyfb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_dirtyfb.c b/tests/intel/kms_dirtyfb.c
> index 26b82e50a..0e315bfb4 100644
> --- a/tests/intel/kms_dirtyfb.c
> +++ b/tests/intel/kms_dirtyfb.c
> @@ -154,7 +154,7 @@ static void check_feature(data_t *data)
>   			     "PSR still disabled\n");
>   		break;
>   	case FEATURE_DRRS:
> -		igt_assert_f(intel_is_drrs_inactive(data->drm_fd, data->pipe),
> +		igt_assert_f(!intel_is_drrs_inactive(data->drm_fd, data->pipe),
>   			     "DRRS INACTIVE\n");
>   		break;
>   	case FEATURE_DEFAULT:


More information about the igt-dev mailing list