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:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user