drm/exynos: Provide ddc symlink in connector's sysfs
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Inki Dae <inki.dae@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/ <613c1c09ff7db5be60ef86f930b45b3f56b4838d.1564591626.git.andrzej.p@collabora.com
This commit is contained in:
Родитель
12701f59a7
Коммит
f4c7b46abc
|
@ -946,8 +946,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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче