mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04:00
drm/amd/display: fix uninitialized variable warning
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
3e64668d79
commit
bbe3f058ec
@@ -188,7 +188,7 @@ static void dpp1_cm_set_regamma_pwl(
|
||||
struct dpp *dpp_base, const struct pwl_params *params, enum opp_regamma mode)
|
||||
{
|
||||
struct dcn10_dpp *dpp = TO_DCN10_DPP(dpp_base);
|
||||
uint32_t re_mode;
|
||||
uint32_t re_mode = 0;
|
||||
|
||||
switch (mode) {
|
||||
case OPP_REGAMMA_BYPASS:
|
||||
|
||||
Reference in New Issue
Block a user