[PATCH 03/13] drm/exynos: Provide ddc symlink in connector's sysfs

Inki Dae inki.dae at samsung.com
Fri Nov 8 00:22:17 UTC 2019



19. 8. 1. 오전 1:58에 Andrzej Pietrasiewicz 이(가) 쓴 글:
> Switch to using the ddc provided by the generic connector.
> 
> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p at collabora.com>
> Acked-by: Sam Ravnborg <sam at ravnborg.org>
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Acked-by: Inki Dae <inki.dae at samsung.com>

Thanks,
Inki Dae

> ---
>  drivers/gpu/drm/exynos/exynos_hdmi.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index bc1565f1822a..d4a9c9e17436 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -940,8 +940,10 @@ static int hdmi_create_connector(struct drm_encoder *encoder)
>  	connector->interlace_allowed = true;
>  	connector->polled = DRM_CONNECTOR_POLL_HPD;
>  
> -	ret = drm_connector_init(hdata->drm_dev, connector,
> -			&hdmi_connector_funcs, DRM_MODE_CONNECTOR_HDMIA);
> +	ret = drm_connector_init_with_ddc(hdata->drm_dev, connector,
> +					  &hdmi_connector_funcs,
> +					  DRM_MODE_CONNECTOR_HDMIA,
> +					  hdata->ddc_adpt);
>  	if (ret) {
>  		DRM_DEV_ERROR(hdata->dev,
>  			      "Failed to initialize connector with drm\n");
> 


More information about the amd-gfx mailing list