diff options
| author | Andrzej Pietrasiewicz <[email protected]> | 2019-07-26 17:23:05 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2019-07-31 14:32:15 +0000 |
| commit | 2ae7eb372ed42e480d55848d597b44d4e47b0ab6 (patch) | |
| tree | 5f9076baa7a3b919f6b72d1a9022ae326fcb8ed6 /drivers/gpu/drm/imx/imx-tve.c | |
| parent | drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs (diff) | |
| download | kernel-2ae7eb372ed42e480d55848d597b44d4e47b0ab6.tar.gz kernel-2ae7eb372ed42e480d55848d597b44d4e47b0ab6.zip | |
drm/imx: imx-tve: Provide ddc symlink in connector's sysfs
Use the ddc pointer provided by the generic connector.
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/1c660776741760b8094484268b670a09da8a9042.1564161140.git.andrzej.p@collabora.com
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
| -rw-r--r-- | drivers/gpu/drm/imx/imx-tve.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index 649515868f86..5bbfaa2cd0f4 100644 --- a/drivers/gpu/drm/imx/imx-tve.c +++ b/drivers/gpu/drm/imx/imx-tve.c @@ -484,8 +484,10 @@ static int imx_tve_register(struct drm_device *drm, struct imx_tve *tve) drm_connector_helper_add(&tve->connector, &imx_tve_connector_helper_funcs); - drm_connector_init(drm, &tve->connector, &imx_tve_connector_funcs, - DRM_MODE_CONNECTOR_VGA); + drm_connector_init_with_ddc(drm, &tve->connector, + &imx_tve_connector_funcs, + DRM_MODE_CONNECTOR_VGA, + tve->ddc); drm_connector_attach_encoder(&tve->connector, &tve->encoder); |
