[Intel-gfx] [PATCH 5/9] drm/i915: Add 10bpc formats with alpha for icl+

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Oct 29 20:07:28 UTC 2019


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

On 8.10.2019 19.14, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> ICL+ again supports alpha blending with 10bpc pixel formats.
> Expose them.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_sprite.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c b/drivers/gpu/drm/i915/display/intel_sprite.c
> index 4cd0982dc8a2..aaabeaf11ae9 100644
> --- a/drivers/gpu/drm/i915/display/intel_sprite.c
> +++ b/drivers/gpu/drm/i915/display/intel_sprite.c
> @@ -2103,6 +2103,8 @@ static const u32 icl_sdr_y_plane_formats[] = {
>   	DRM_FORMAT_ABGR8888,
>   	DRM_FORMAT_XRGB2101010,
>   	DRM_FORMAT_XBGR2101010,
> +	DRM_FORMAT_ARGB2101010,
> +	DRM_FORMAT_ABGR2101010,
>   	DRM_FORMAT_YUYV,
>   	DRM_FORMAT_YVYU,
>   	DRM_FORMAT_UYVY,
> @@ -2124,6 +2126,8 @@ static const u32 icl_sdr_uv_plane_formats[] = {
>   	DRM_FORMAT_ABGR8888,
>   	DRM_FORMAT_XRGB2101010,
>   	DRM_FORMAT_XBGR2101010,
> +	DRM_FORMAT_ARGB2101010,
> +	DRM_FORMAT_ABGR2101010,
>   	DRM_FORMAT_YUYV,
>   	DRM_FORMAT_YVYU,
>   	DRM_FORMAT_UYVY,
> @@ -2149,6 +2153,8 @@ static const u32 icl_hdr_plane_formats[] = {
>   	DRM_FORMAT_ABGR8888,
>   	DRM_FORMAT_XRGB2101010,
>   	DRM_FORMAT_XBGR2101010,
> +	DRM_FORMAT_ARGB2101010,
> +	DRM_FORMAT_ABGR2101010,
>   	DRM_FORMAT_XRGB16161616F,
>   	DRM_FORMAT_XBGR16161616F,
>   	DRM_FORMAT_ARGB16161616F,
> 



More information about the Intel-gfx mailing list