diff options
author | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | 2019-08-26 21:25:47 +0200 |
---|---|---|
committer | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | 2019-11-07 15:07:17 +0100 |
commit | 9c544cc33d5dfbbf15ff41b081c1579b29ee4f6b (patch) | |
tree | 3be770928c6180f1c0c96520a8d0a9bb91a4f7f7 /drivers/gpu/drm/rockchip | |
parent | 17165de2572daa9c3466ed4448aacbdaf0ebaa9d (diff) | |
download | linux-stable-9c544cc33d5dfbbf15ff41b081c1579b29ee4f6b.tar.gz linux-stable-9c544cc33d5dfbbf15ff41b081c1579b29ee4f6b.tar.bz2 linux-stable-9c544cc33d5dfbbf15ff41b081c1579b29ee4f6b.zip |
drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory
Use the ddc pointer 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: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/ <4cad24dde4508cec17483f983da08226ba7e48b0.1566845537.git.andrzej.p@collabora.com
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rk3066_hdmi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index cdb401f4283d..8673e64723e3 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -564,9 +564,10 @@ rk3066_hdmi_register(struct drm_device *drm, struct rk3066_hdmi *hdmi) drm_connector_helper_add(&hdmi->connector, &rk3066_hdmi_connector_helper_funcs); - drm_connector_init(drm, &hdmi->connector, - &rk3066_hdmi_connector_funcs, - DRM_MODE_CONNECTOR_HDMIA); + drm_connector_init_with_ddc(drm, &hdmi->connector, + &rk3066_hdmi_connector_funcs, + DRM_MODE_CONNECTOR_HDMIA, + hdmi->ddc); drm_connector_attach_encoder(&hdmi->connector, encoder); |