提交 978cc972 编写于 作者: H Harry Wentland 提交者: Alex Deucher

drm/amd/display: Drop dm_connector_update_modes

It's unused since the drm_edid_to_eld cleanup
Signed-off-by: NHarry Wentland <harry.wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 405c50a0
...@@ -174,12 +174,6 @@ static const struct drm_connector_funcs dm_dp_mst_connector_funcs = { ...@@ -174,12 +174,6 @@ static const struct drm_connector_funcs dm_dp_mst_connector_funcs = {
.atomic_get_property = amdgpu_dm_connector_atomic_get_property .atomic_get_property = amdgpu_dm_connector_atomic_get_property
}; };
static int dm_connector_update_modes(struct drm_connector *connector,
struct edid *edid)
{
return drm_add_edid_modes(connector, edid);
}
void dm_dp_mst_dc_sink_create(struct drm_connector *connector) void dm_dp_mst_dc_sink_create(struct drm_connector *connector)
{ {
struct amdgpu_dm_connector *aconnector = to_amdgpu_dm_connector(connector); struct amdgpu_dm_connector *aconnector = to_amdgpu_dm_connector(connector);
...@@ -228,7 +222,7 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector) ...@@ -228,7 +222,7 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector)
int ret = 0; int ret = 0;
if (!aconnector) if (!aconnector)
return dm_connector_update_modes(connector, NULL); return drm_add_edid_modes(connector, NULL);
if (!aconnector->edid) { if (!aconnector->edid) {
struct edid *edid; struct edid *edid;
...@@ -264,7 +258,7 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector) ...@@ -264,7 +258,7 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector)
&aconnector->base, edid); &aconnector->base, edid);
} }
ret = dm_connector_update_modes(connector, aconnector->edid); ret = drm_add_edid_modes(connector, aconnector->edid);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册