[Intel-gfx] [v9 04/12] drm/i915/display: Attach content type property for LSPCON

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Nov 25 16:29:04 UTC 2020


On Tue, Nov 03, 2020 at 08:58:26PM +0530, Uma Shankar wrote:
> Content type is supported on HDMI sink devices. Attached the
> property for the same for LSPCON based devices.
> 
> Signed-off-by: Uma Shankar <uma.shankar at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 0ce3204473fa..79a49d1cbb21 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -6736,6 +6736,7 @@ intel_dp_connector_register(struct drm_connector *connector)
>  			drm_object_attach_property(&connector->base,
>  						   connector->dev->mode_config.hdr_output_metadata_property,
>  						   0);
> +		drm_connector_attach_content_type_property(connector);

Doesn't look like you're populating the infoframe until patch 6, so this
looks a bit early. Should probably suck in the infoframe part into this
patch too.

>  	}
>  
>  	return ret;
> -- 
> 2.26.2

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list