drm/amd/display: change name from dc_link_get_verified_link_cap to dc_link_get_link_cap
[Why] DM doesn't need to know which link cap is being retrieved ( verified or preferred ). Let DC figure it out. [How] Change name. Signed-off-by: Samson Tam <Samson.Tam@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
695af5f9a5
commit
5ac4619b9d
@ -597,7 +597,7 @@ uint32_t dc_link_bandwidth_kbps(
|
||||
|
||||
}
|
||||
|
||||
const struct dc_link_settings *dc_link_get_verified_link_cap(
|
||||
const struct dc_link_settings *dc_link_get_link_cap(
|
||||
const struct dc_link *link)
|
||||
{
|
||||
if (link->preferred_link_setting.lane_count != LANE_COUNT_UNKNOWN &&
|
||||
|
@ -1548,8 +1548,7 @@ bool dp_validate_mode_timing(
|
||||
timing->v_addressable == (uint32_t) 480)
|
||||
return true;
|
||||
|
||||
/* We always use verified link settings */
|
||||
link_setting = dc_link_get_verified_link_cap(link);
|
||||
link_setting = dc_link_get_link_cap(link);
|
||||
|
||||
/* TODO: DYNAMIC_VALIDATION needs to be implemented */
|
||||
/*if (flags.DYNAMIC_VALIDATION == 1 &&
|
||||
|
@ -250,7 +250,7 @@ uint32_t dc_link_bandwidth_kbps(
|
||||
const struct dc_link *link,
|
||||
const struct dc_link_settings *link_setting);
|
||||
|
||||
const struct dc_link_settings *dc_link_get_verified_link_cap(
|
||||
const struct dc_link_settings *dc_link_get_link_cap(
|
||||
const struct dc_link *link);
|
||||
|
||||
bool dc_submit_i2c(
|
||||
|
Loading…
x
Reference in New Issue
Block a user