drm/amd/display: clean up some inconsistent indenting
Subsystems (3)
PATCH 1/1 drm/amd/display: clean up some inconsistent indenting
Eliminate the follow smatch warning:drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3151 commit_planes_for_stream() warn: inconsistent indenting
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +5 -5
@@ -3148,15 +3148,15 @@ static void commit_planes_for_stream(struct dc *dc,else dc->hwss.pipe_control_lock (dc, top_pipe_to_program, false); -if ((update_type !=UPDATE_TYPE_FAST ) && stream->update_flags.bits.dsc_changed) -if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( +if ((update_type !=UPDATE_TYPE_FAST ) && stream->update_flags.bits.dsc_changed) +if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VACTIVE ); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VBLANK ); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VACTIVE );
Signature · 1 line
2.20.1.7.g153144c
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 37 lines · Yang Li
Eliminate the follow smatch warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3151commit_planes_for_stream()warn: inconsistent indentingSigned-off-by Yang Li <[email protected]>--- drivers/gpu/drm/amd/display/dc/core/dc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)drivers/gpu/drm/amd/display/dc/core/dc.c +5
-6@@ -3148,15 +3148,15 @@ static void commit_planes_for_stream(struct dc *dc,else dc->hwss.pipe_control_lock (dc, top_pipe_to_program, false); -if ((update_type !=UPDATE_TYPE_FAST ) && stream->update_flags.bits.dsc_changed) -if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( +if ((update_type !=UPDATE_TYPE_FAST ) && stream->update_flags.bits.dsc_changed) +if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VACTIVE ); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VBLANK ); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state ( top_pipe_to_program->stream_res.tg,CRTC_STATE_VACTIVE ); --2.20.1.7.g153144c