[PATCH 1/2] drm/amd/display: Fix indentation in commit_planes_for_stream()

Alex Deucher alexander.deucher at amd.com
Tue Aug 30 13:32:16 UTC 2022


Fixes a build failure.

Fixes: e990bd60716d ("drm/amd/display: Only commit SubVP state after pipe programming")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Cc: Alvin Lee <Alvin.Lee2 at amd.com>
Cc: Jun Lei <Jun.Lei at amd.com>
Cc: Harry Wentland <harry.wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index b49237390cce..1a4ea9639049 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -3507,9 +3507,9 @@ static void commit_planes_for_stream(struct dc *dc,
 
 	if (update_type != UPDATE_TYPE_FAST)
 		dc->hwss.post_unlock_program_front_end(dc, context);
-		if (update_type != UPDATE_TYPE_FAST)
-			if (dc->hwss.commit_subvp_config)
-				dc->hwss.commit_subvp_config(dc, context);
+	if (update_type != UPDATE_TYPE_FAST)
+		if (dc->hwss.commit_subvp_config)
+			dc->hwss.commit_subvp_config(dc, context);
 
 	/* Since phantom pipe programming is moved to post_unlock_program_front_end,
 	 * move the SubVP lock to after the phantom pipes have been setup
-- 
2.37.1



More information about the amd-gfx mailing list