[Intel-gfx] [PATCH] drm/i915: Tile F plane format support

Jani Nikula jani.nikula at linux.intel.com
Thu Sep 23 10:28:21 UTC 2021


On Thu, 23 Sep 2021, Stanislav Lisovskiy <stanislav.lisovskiy at intel.com> wrote:
> @@ -1941,6 +1951,10 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,
>  		if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_B0))
>  			return false;
>  		break;
> +	case I915_FORMAT_MOD_F_TILED:
> +		if (!HAS_FTILE(dev_priv))
> +			return false;
> +		fallthrough;
>  	default:
>  		return false;
>  	}

Seems odd.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list