drm/amd/display: make some functions static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 14 Sep 2022 05:27:35 +0000 (13:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2022 16:38:52 +0000 (12:38 -0400)
commite0f1d483b85bd35ed10985e7d3e64386e4e14e50
treeecb0300fc1103e2ae1642838610f5c339620fbd1
parentc1c39032a0748be08f6bc33a8dad70b83ef311a6
drm/amd/display: make some functions static

These functions are not used outside the file dcn30_resource.c, so the
modification is defined as static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1949:6: warning: no previous prototype for ‘is_refresh_rate_support_mclk_switch_using_fw_based_vblank_stretch’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1919:5: warning: no previous prototype for ‘get_frame_rate_at_max_stretch_100hz’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2143
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c