[igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Jun 30 11:09:57 UTC 2021


Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>

On 30.6.2021 12.43, Mika Kahola wrote:
> ADL-P platform doesn't support 90/270 rotation. Let's skip to test
> with these rotations.
> 
> Signed-off-by: Mika Kahola <mika.kahola at intel.com>
> ---
>   tests/kms_plane_scaling.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 2aa46ac8..1dad2e60 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -165,6 +165,10 @@ static bool can_rotate(data_t *d, unsigned format, uint64_t tiling,
>   	if (!is_i915_device(d->drm_fd))
>   		return true;
>   
> +	if (intel_display_ver(d->devid) >= 13 &&
> +		(rot == IGT_ROTATION_90 || rot == IGT_ROTATION_270))
> +		return false;
> +
>   	switch (format) {
>   	case DRM_FORMAT_RGB565:
>   		if (intel_display_ver(d->devid) >= 11)
> 



More information about the igt-dev mailing list