Commit afb18500 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 warnings:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_dpp.c:724 dpp3_get_blndgam_current() warn: inconsistent indenting.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_dpp.c:823 dpp3_get_shaper_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 980e09e8
...@@ -716,10 +716,8 @@ static enum dc_lut_mode dpp3_get_blndgam_current(struct dpp *dpp_base) ...@@ -716,10 +716,8 @@ static enum dc_lut_mode dpp3_get_blndgam_current(struct dpp *dpp_base)
struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base);
REG_GET(CM_BLNDGAM_CONTROL, REG_GET(CM_BLNDGAM_CONTROL, CM_BLNDGAM_MODE_CURRENT, &mode_current);
CM_BLNDGAM_MODE_CURRENT, &mode_current); REG_GET(CM_BLNDGAM_CONTROL, CM_BLNDGAM_SELECT_CURRENT, &in_use);
REG_GET(CM_BLNDGAM_CONTROL,
CM_BLNDGAM_SELECT_CURRENT, &in_use);
switch (mode_current) { switch (mode_current) {
case 0: case 0:
...@@ -737,6 +735,7 @@ static enum dc_lut_mode dpp3_get_blndgam_current(struct dpp *dpp_base) ...@@ -737,6 +735,7 @@ static enum dc_lut_mode dpp3_get_blndgam_current(struct dpp *dpp_base)
mode = LUT_BYPASS; mode = LUT_BYPASS;
break; break;
} }
return mode; return mode;
} }
...@@ -817,8 +816,7 @@ static enum dc_lut_mode dpp3_get_shaper_current(struct dpp *dpp_base) ...@@ -817,8 +816,7 @@ static enum dc_lut_mode dpp3_get_shaper_current(struct dpp *dpp_base)
uint32_t state_mode; uint32_t state_mode;
struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base);
REG_GET(CM_SHAPER_CONTROL, REG_GET(CM_SHAPER_CONTROL, CM_SHAPER_MODE_CURRENT, &state_mode);
CM_SHAPER_MODE_CURRENT, &state_mode);
switch (state_mode) { switch (state_mode) {
case 0: case 0:
...@@ -834,6 +832,7 @@ static enum dc_lut_mode dpp3_get_shaper_current(struct dpp *dpp_base) ...@@ -834,6 +832,7 @@ static enum dc_lut_mode dpp3_get_shaper_current(struct dpp *dpp_base)
mode = LUT_BYPASS; mode = LUT_BYPASS;
break; break;
} }
return mode; return mode;
} }
......
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