amd/vpelib: Solve link error due to missing static for one function
is_target_rect_equal_to_dest_rect is used in color_bg.c only. Therefore, it needs keyword as static in front of it. This issue is reported from diag team. Reviewed-by: Bichao Wang <bichao.wang@amd.com> Reviewed-by: Tomson Chang <tomson.chang@amd.com> Acked-by: Alan Liu <haoping.liu@amd.com> Signed-off-by: Jude Shih <shenshih@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27239>
This commit is contained in:
@@ -581,8 +581,7 @@ enum vpe_status vpe_bg_color_outside_cs_gamut(
|
||||
return VPE_STATUS_OK;
|
||||
}
|
||||
|
||||
|
||||
inline bool is_target_rect_equal_to_dest_rect(const struct vpe_priv *vpe_priv)
|
||||
static inline bool is_target_rect_equal_to_dest_rect(const struct vpe_priv *vpe_priv)
|
||||
{
|
||||
const struct vpe_rect *target_rect = &vpe_priv->output_ctx.target_rect;
|
||||
const struct vpe_rect *dst_rect = &vpe_priv->stream_ctx[0].stream.scaling_info.dst_rect;
|
||||
|
Reference in New Issue
Block a user