amdgpu/dc: move some one line dp functions to inlines.
Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
736b4f153b
commit
450619d328
@@ -1191,12 +1191,12 @@ struct dc_link_settings get_common_supported_link_settings (
|
||||
return link_settings;
|
||||
}
|
||||
|
||||
bool reached_minimum_lane_count(enum dc_lane_count lane_count)
|
||||
static inline bool reached_minimum_lane_count(enum dc_lane_count lane_count)
|
||||
{
|
||||
return lane_count <= LANE_COUNT_ONE;
|
||||
}
|
||||
|
||||
bool reached_minimum_link_rate(enum dc_link_rate link_rate)
|
||||
static inline bool reached_minimum_link_rate(enum dc_link_rate link_rate)
|
||||
{
|
||||
return link_rate <= LINK_RATE_LOW;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user