提交 bbe3f058 编写于 作者: D Dmytro Laktyushkin 提交者: Alex Deucher

drm/amd/display: fix uninitialized variable warning

Signed-off-by: NDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: NDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 3e64668d
...@@ -188,7 +188,7 @@ static void dpp1_cm_set_regamma_pwl( ...@@ -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 dpp *dpp_base, const struct pwl_params *params, enum opp_regamma mode)
{ {
struct dcn10_dpp *dpp = TO_DCN10_DPP(dpp_base); struct dcn10_dpp *dpp = TO_DCN10_DPP(dpp_base);
uint32_t re_mode; uint32_t re_mode = 0;
switch (mode) { switch (mode) {
case OPP_REGAMMA_BYPASS: case OPP_REGAMMA_BYPASS:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册