Re: [igt-dev] [PATCH i-g-t 05/10] Revert "tests/kms_plane: Disable GEN12 media compression YUV tests"

Kahola, Mika
2019-12-30T13:24:41Z

On Mon, 2019-12-30 at 05:40 +0200, Imre Deak wrote:
> This reverts commit 0586d205f651674e575351c2d5a7d0760716c9f1.
>
> Now that support for YUV engine copy was added, we can re-enable the
> YUV tests.
>
> Cc: Mika Kahola <mika.kahola@intel.com>
> Signed-off-by: Imre Deak <imre.deak@intel.com>

Reviewed-by: Mika Kahola <mika.kahola@intel.com>

> ---
> tests/kms_plane.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/tests/kms_plane.c b/tests/kms_plane.c
> index 6ad7bacc..9ef3a7f3 100644
> --- a/tests/kms_plane.c
> +++ b/tests/kms_plane.c
> @@ -596,13 +596,6 @@ static bool test_format_plane_yuv(data_t *data,
> enum pipe pipe,
> if (!igt_plane_has_prop(plane, IGT_PLANE_COLOR_RANGE))
> return true;
>
> - /*
> - * The Vebox blitter backend needed for this can't handle YUV
> formats
> - * yet, so skip it for now.
> - */
> - if (modifier == LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS)
> - return true;
> -
> for (enum igt_color_encoding e = 0; e <
> IGT_NUM_COLOR_ENCODINGS; e++) {
> if (!igt_plane_try_prop_enum(plane,
> IGT_PLANE_COLOR_ENCODING,