Commit 980e09e8 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Alex Deucher

drm/amd/display: Clean up some inconsistent indenting

No functional modification involved.

smatch warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_dpp_cm.c:67 dpp30_get_gamcor_current() warn: inconsistent indenting.
Reported-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 05381583
...@@ -61,16 +61,13 @@ static enum dc_lut_mode dpp30_get_gamcor_current(struct dpp *dpp_base) ...@@ -61,16 +61,13 @@ static enum dc_lut_mode dpp30_get_gamcor_current(struct dpp *dpp_base)
uint32_t lut_mode; uint32_t lut_mode;
struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base);
REG_GET(CM_GAMCOR_CONTROL, REG_GET(CM_GAMCOR_CONTROL, CM_GAMCOR_MODE_CURRENT, &state_mode);
CM_GAMCOR_MODE_CURRENT, &state_mode);
if (state_mode == 0) if (state_mode == 0)
mode = LUT_BYPASS; mode = LUT_BYPASS;
if (state_mode == 2) {//Programmable RAM LUT if (state_mode == 2) {//Programmable RAM LUT
REG_GET(CM_GAMCOR_CONTROL, REG_GET(CM_GAMCOR_CONTROL, CM_GAMCOR_SELECT_CURRENT, &lut_mode);
CM_GAMCOR_SELECT_CURRENT, &lut_mode);
if (lut_mode == 0) if (lut_mode == 0)
mode = LUT_RAM_A; mode = LUT_RAM_A;
else else
......
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