Commit ed40c578 authored by Deepak R Varma's avatar Deepak R Varma Committed by Alex Deucher

drm/amdgpu/dce: improve code indentation and alignment

General code indentation and alignment changes such as replace spaces
by tabs or align function arguments as per the coding style
guidelines. Issue reported by checkpatch script.
Signed-off-by: default avatarDeepak R Varma <mh12gx2825@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7dee4d51
...@@ -2673,7 +2673,7 @@ static int dce_v10_0_crtc_set_base_atomic(struct drm_crtc *crtc, ...@@ -2673,7 +2673,7 @@ static int dce_v10_0_crtc_set_base_atomic(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
int x, int y, enum mode_set_atomic state) int x, int y, enum mode_set_atomic state)
{ {
return dce_v10_0_crtc_do_set_base(crtc, fb, x, y, 1); return dce_v10_0_crtc_do_set_base(crtc, fb, x, y, 1);
} }
static const struct drm_crtc_helper_funcs dce_v10_0_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs dce_v10_0_crtc_helper_funcs = {
......
...@@ -2778,7 +2778,7 @@ static int dce_v11_0_crtc_set_base_atomic(struct drm_crtc *crtc, ...@@ -2778,7 +2778,7 @@ static int dce_v11_0_crtc_set_base_atomic(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
int x, int y, enum mode_set_atomic state) int x, int y, enum mode_set_atomic state)
{ {
return dce_v11_0_crtc_do_set_base(crtc, fb, x, y, 1); return dce_v11_0_crtc_do_set_base(crtc, fb, x, y, 1);
} }
static const struct drm_crtc_helper_funcs dce_v11_0_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs dce_v11_0_crtc_helper_funcs = {
......
...@@ -2567,7 +2567,7 @@ static int dce_v6_0_crtc_set_base_atomic(struct drm_crtc *crtc, ...@@ -2567,7 +2567,7 @@ static int dce_v6_0_crtc_set_base_atomic(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
int x, int y, enum mode_set_atomic state) int x, int y, enum mode_set_atomic state)
{ {
return dce_v6_0_crtc_do_set_base(crtc, fb, x, y, 1); return dce_v6_0_crtc_do_set_base(crtc, fb, x, y, 1);
} }
static const struct drm_crtc_helper_funcs dce_v6_0_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs dce_v6_0_crtc_helper_funcs = {
......
...@@ -2498,7 +2498,7 @@ static void dce_v8_0_crtc_disable(struct drm_crtc *crtc) ...@@ -2498,7 +2498,7 @@ static void dce_v8_0_crtc_disable(struct drm_crtc *crtc)
case ATOM_PPLL2: case ATOM_PPLL2:
/* disable the ppll */ /* disable the ppll */
amdgpu_atombios_crtc_program_pll(crtc, amdgpu_crtc->crtc_id, amdgpu_crtc->pll_id, amdgpu_atombios_crtc_program_pll(crtc, amdgpu_crtc->crtc_id, amdgpu_crtc->pll_id,
0, 0, ATOM_DISABLE, 0, 0, 0, 0, 0, false, &ss); 0, 0, ATOM_DISABLE, 0, 0, 0, 0, 0, false, &ss);
break; break;
case ATOM_PPLL0: case ATOM_PPLL0:
/* disable the ppll */ /* disable the ppll */
...@@ -2585,7 +2585,7 @@ static int dce_v8_0_crtc_set_base_atomic(struct drm_crtc *crtc, ...@@ -2585,7 +2585,7 @@ static int dce_v8_0_crtc_set_base_atomic(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
int x, int y, enum mode_set_atomic state) int x, int y, enum mode_set_atomic state)
{ {
return dce_v8_0_crtc_do_set_base(crtc, fb, x, y, 1); return dce_v8_0_crtc_do_set_base(crtc, fb, x, y, 1);
} }
static const struct drm_crtc_helper_funcs dce_v8_0_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs dce_v8_0_crtc_helper_funcs = {
......
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