Commit 0cdbffd5 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Alex Deucher

drm/amd/display: make mpc32_program_shaper and mpc32_program_3dlut static

These two functions are not used outside the function dcn32_mpc.c, so the
modification is defined as static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mpc.c:704:6: warning: no previous prototype for ‘mpc32_program_shaper’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mpc.c:900:6: warning: no previous prototype for ‘mpc32_program_3dlut’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2115Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7f0eac65
...@@ -701,7 +701,7 @@ static void mpc32_power_on_shaper_3dlut( ...@@ -701,7 +701,7 @@ static void mpc32_power_on_shaper_3dlut(
} }
bool mpc32_program_shaper( static bool mpc32_program_shaper(
struct mpc *mpc, struct mpc *mpc,
const struct pwl_params *params, const struct pwl_params *params,
uint32_t mpcc_id) uint32_t mpcc_id)
...@@ -897,7 +897,7 @@ static void mpc32_set_3dlut_mode( ...@@ -897,7 +897,7 @@ static void mpc32_set_3dlut_mode(
} }
bool mpc32_program_3dlut( static bool mpc32_program_3dlut(
struct mpc *mpc, struct mpc *mpc,
const struct tetrahedral_params *params, const struct tetrahedral_params *params,
int mpcc_id) int mpcc_id)
......
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