Messages in this thread Patch in this message | | | Date | Thu, 24 Aug 2023 14:51:38 +0800 (GMT+08:00) | From | "XueBing Chen" <> | Subject | [PATCH] drm/amdgpu/df: Clean up errors in df_v1_7.h |
| |
Fix the following errors reported by checkpatch:
ERROR: spaces required around that '=' (ctx:WxV) ERROR: open brace '{' following enum go on the same line
Signed-off-by: XueBing Chen <chenxuebing@jari.cn> --- drivers/gpu/drm/amd/amdgpu/df_v1_7.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h index 74621104c487..22b3d66c4f66 100644 --- a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h +++ b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h @@ -25,14 +25,13 @@ #define __DF_V1_7_H__ #include "soc15_common.h" -enum DF_V1_7_MGCG -{ +enum DF_V1_7_MGCG { DF_V1_7_MGCG_DISABLE = 0, - DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY =1, - DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY =2, - DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY =13, - DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY =14, - DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY =15 + DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY = 1, + DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY = 2, + DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY = 13, + DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY = 14, + DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY = 15 }; extern const struct amdgpu_df_funcs df_v1_7_funcs; -- 2.17.1 | |