提交 450619d3 编写于 作者: D Dave Airlie 提交者: Alex Deucher

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

Signed-off-by: NDave Airlie <airlied@redhat.com>
Reviewed-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 736b4f15
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册