mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: Provide ddc symlink in dm connector's sysfs directory
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/ <40293fa4e619d1d1af213a076b1d03440e50c56c.1566845537.git.andrzej.p@collabora.com
This commit is contained in:
parent
af0e31ab62
commit
17165de257
|
@ -5195,11 +5195,12 @@ static int amdgpu_dm_connector_init(struct amdgpu_display_manager *dm,
|
|||
|
||||
connector_type = to_drm_connector_type(link->connector_signal);
|
||||
|
||||
res = drm_connector_init(
|
||||
res = drm_connector_init_with_ddc(
|
||||
dm->ddev,
|
||||
&aconnector->base,
|
||||
&amdgpu_dm_connector_funcs,
|
||||
connector_type);
|
||||
connector_type,
|
||||
&i2c->base);
|
||||
|
||||
if (res) {
|
||||
DRM_ERROR("connector_init failed\n");
|
||||
|
|
Loading…
Reference in New Issue