mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
drm/amd/display: Update dc_connection_dac_load to dc_connection_analog_load
Update to a more accurate name dc_connection_analog_load. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
73d08a87d6
commit
57c8690a84
|
|
@ -7430,7 +7430,7 @@ amdgpu_dm_connector_poll(struct amdgpu_dm_connector *aconnector, bool force)
|
|||
*
|
||||
* Only allow to poll such a connector again when forcing.
|
||||
*/
|
||||
if (!force && link->local_sink && link->type == dc_connection_dac_load)
|
||||
if (!force && link->local_sink && link->type == dc_connection_analog_load)
|
||||
return connector->status;
|
||||
|
||||
mutex_lock(&aconnector->hpd_lock);
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@ enum dc_connection_type {
|
|||
dc_connection_single,
|
||||
dc_connection_mst_branch,
|
||||
dc_connection_sst_branch,
|
||||
dc_connection_dac_load
|
||||
dc_connection_analog_load
|
||||
};
|
||||
|
||||
struct dc_csc_adjustments {
|
||||
|
|
|
|||
|
|
@ -1174,7 +1174,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
|
|||
/* If we didn't do DAC load detection yet, do it now
|
||||
* to verify there really is a display connected.
|
||||
*/
|
||||
if (link->type != dc_connection_dac_load &&
|
||||
if (link->type != dc_connection_analog_load &&
|
||||
!link_detect_dac_load_detect(link)) {
|
||||
if (prev_sink)
|
||||
dc_sink_release(prev_sink);
|
||||
|
|
@ -1183,7 +1183,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
|
|||
}
|
||||
|
||||
DC_LOG_INFO("%s detected analog display without EDID\n", __func__);
|
||||
link->type = dc_connection_dac_load;
|
||||
link->type = dc_connection_analog_load;
|
||||
sink->edid_caps.analog = true;
|
||||
break;
|
||||
}
|
||||
|
|
@ -1370,7 +1370,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
|
|||
* @link: DC link to evaluate (must support analog signalling).
|
||||
* @type: Updated with the detected connection type:
|
||||
* dc_connection_single (analog via DDC),
|
||||
* dc_connection_dac_load (via load-detect),
|
||||
* dc_connection_analog_load (via load-detect),
|
||||
* or dc_connection_none.
|
||||
*
|
||||
* Return: true if detection completed.
|
||||
|
|
@ -1386,7 +1386,7 @@ static bool link_detect_connection_type_analog(struct dc_link *link, enum dc_con
|
|||
}
|
||||
|
||||
if (link_detect_dac_load_detect(link)) {
|
||||
*type = dc_connection_dac_load;
|
||||
*type = dc_connection_analog_load;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user