Commit 450619d3 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher

amdgpu/dc: move some one line dp functions to inlines.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 736b4f15
...@@ -1191,12 +1191,12 @@ struct dc_link_settings get_common_supported_link_settings ( ...@@ -1191,12 +1191,12 @@ struct dc_link_settings get_common_supported_link_settings (
return 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; 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; return link_rate <= LINK_RATE_LOW;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment