[PATCH 6/7] drm/i915: Drop GEN12_MC_CCS check from skl_plane_max_width()

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Oct 4 13:52:12 UTC 2024


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

On 18.9.2024 17.44, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS is tgl+ only, so checking for
> in skl_plane_max_width() (which only applies to pre-glk hardware)
> is pointless.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>   drivers/gpu/drm/i915/display/skl_universal_plane.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> index afaa92a6d91c..f56d679b0143 100644
> --- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
> +++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> @@ -349,7 +349,6 @@ static int skl_plane_max_width(const struct drm_framebuffer *fb,
>   			return 5120;
>   	case I915_FORMAT_MOD_Y_TILED_CCS:
>   	case I915_FORMAT_MOD_Yf_TILED_CCS:
> -	case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:
>   		/* FIXME AUX plane? */
>   	case I915_FORMAT_MOD_Y_TILED:
>   	case I915_FORMAT_MOD_Yf_TILED:



More information about the Intel-gfx mailing list