[igt-dev] [PATCH i-g-t] tests/kms_plane: Disable GEN12 media compression YUV tests

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Dec 20 17:12:02 UTC 2019


On Fri, Dec 20, 2019 at 04:48:52PM +0200, Imre Deak wrote:
> The Vebox backend needed for this is not ready yet for YUV formats,
> since that needs a separate AUX pagetable setup for the Y and UV planes
> and also setting up the matching format in the Vebox tiling convert
> command surface state.
> 
> It makes sense to test the MC kernel patchset for regressions though, so
> let's disable the MC YUV tests until Vebox is able to handle those
> formats (and revert this patch when that happens and before the kernel
> patches enabling MC YUV formats get merged).
> 
> Cc: Mika Kahola <mika.kahola at intel.com>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Matt Roper <matthew.d.roper at intel.com>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> ---
>  tests/kms_plane.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/kms_plane.c b/tests/kms_plane.c
> index 9ef3a7f3..1474e265 100644
> --- a/tests/kms_plane.c
> +++ b/tests/kms_plane.c
> @@ -595,6 +595,8 @@ static bool test_format_plane_yuv(data_t *data, enum pipe pipe,
>  		return true;
>  	if (!igt_plane_has_prop(plane, IGT_PLANE_COLOR_RANGE))
>  		return true;

Could use a comment perhaps so we don't forget why it's here.

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

> +	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,
> -- 
> 2.22.0

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list