[PATCH i-g-t v2 2/2] tests/kms_rotation_crc: Intel display version 20 onwards doesn't do hflip with tile4
Karthik B S
karthik.b.s at intel.com
Wed Nov 6 10:54:06 UTC 2024
On 11/5/2024 1:14 AM, Juha-Pekka Heikkila wrote:
> On Intel display version 20 Tile4 no longer can be used with horizontal
> flip.
>
> Bspec: 69853
>
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
> tests/kms_rotation_crc.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> index e8b6e4ff2..22fb5383b 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -577,6 +577,13 @@ static bool plane_rotation_requirements(data_t *data, igt_plane_t *plane)
> data->rotation != (IGT_ROTATION_180 | IGT_REFLECT_X)))
> return false;
>
> + /* Intel display version 20 onwards cannot do reflect-x with tile4 */
> + if (!(!is_intel_device(data->gfx_fd) ||
> + intel_display_ver(data->devid) < 20 ||
> + !(data->override_modifier == I915_FORMAT_MOD_4_TILED &&
> + data->rotation & IGT_REFLECT_X)))
> + return false;
> +
> return true;
> }
>
More information about the igt-dev
mailing list