drm/amd/display: Remove unnecessary call to REG_SEQ_SUBMIT|WAIT_DONE
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Fri, 2 Aug 2024 18:33:20 +0000 (12:33 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:12:51 +0000 (12:12 -0400)
[why & how]
Remove unnecessary call to REG_SEQ_SUBMIT and REG_SEQ_WAIT_DONE, since
those macros are not necessary anymore at the dpp1 set degamma. Those
are part of an old implementation.

Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c

index f2a2d53..f8f6019 100644 (file)
@@ -684,9 +684,6 @@ void dpp1_set_degamma(
                BREAK_TO_DEBUGGER();
                break;
        }
-
-       REG_SEQ_SUBMIT();
-       REG_SEQ_WAIT_DONE();
 }
 
 void dpp1_degamma_ram_select(