[PATCH] drm/drm_connector: add additional aspect ratio values

Harry Wentland hwentlan at amd.com
Fri Aug 23 18:32:58 UTC 2019


On 2019-08-22 5:50 p.m., Wayne Lin wrote:
> For HDMI2.0 CTS item - HF1-35, it verifies if the source generates
> video timing "64:27" video format correctly.
> 
> eg: (vic-76) 1920x1080p at 60Hz,24bpp
> 
> This patch add on "64:27" and "256:135" to drm_aspect_ratio_enum_list.
> Thereafter, one can specify the aspect ratio to "64:27" or "256:135"
> after creating aspect ratio property.>
> Change-Id: Ifc9df54e8e8f78e70960fcd737a3a57e49c81152
> Signed-off-by: Wayne Lin <waynelin at amd.com>

Drop the Change-Id.

With that fixed this patch is

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/drm_connector.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 3a0cacb71235..c0629a01d08e 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -772,6 +772,8 @@ static const struct drm_prop_enum_list drm_aspect_ratio_enum_list[] = {
>  	{ DRM_MODE_PICTURE_ASPECT_NONE, "Automatic" },
>  	{ DRM_MODE_PICTURE_ASPECT_4_3, "4:3" },
>  	{ DRM_MODE_PICTURE_ASPECT_16_9, "16:9" },
> +	{ DRM_MODE_PICTURE_ASPECT_64_27, "64:27" },
> +	{ DRM_MODE_PICTURE_ASPECT_256_135, "256:135" },
>  };
>  
>  static const struct drm_prop_enum_list drm_content_type_enum_list[] = {
> 


More information about the dri-devel mailing list