diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-09-13 16:38:02 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-13 14:33:01 -0400 |
commit | 1a468dd88a13b39dace8b5eb87a274782a56cece (patch) | |
tree | 947805c5394579b97d0b038623d4f763e70e347e /drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c | |
parent | 1e0301e127cfc708c852278539e0bbd4c77ccb09 (diff) | |
download | linux-stable-1a468dd88a13b39dace8b5eb87a274782a56cece.tar.gz linux-stable-1a468dd88a13b39dace8b5eb87a274782a56cece.tar.bz2 linux-stable-1a468dd88a13b39dace8b5eb87a274782a56cece.zip |
drm/amd/display: make dscl32_calc_lb_num_partitions static
This symbol is not used outside of dcn32_dpp.c, so marks it static.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dpp.c:34:6: warning: no previous prototype for ‘dscl32_calc_lb_num_partitions’.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2118
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c index f349cbe2a0f0..dcf12a0b031c 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c @@ -31,7 +31,7 @@ #include "dcn30/dcn30_cm_common.h" /* Compute the maximum number of lines that we can fit in the line buffer */ -void dscl32_calc_lb_num_partitions( +static void dscl32_calc_lb_num_partitions( const struct scaler_data *scl_data, enum lb_memory_config lb_config, int *num_part_y, |