drm/amd/display: Do not clear GPINT register when releasing DMUB from reset
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 6 Apr 2023 19:48:48 +0000 (15:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Apr 2023 02:40:59 +0000 (22:40 -0400)
[Why & How]
There's no need to clear GPINT register for DMUB
when releasing it from reset. Fix that.

Fixes: ac2e555e0a7f ("drm/amd/display: Add DMCUB source files and changes for DCN32/321")
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c

index b0adbf783aae9f666cf72f62cbb2d810d4605752..9c20516be066ccd6b1e620b7b61fc78d41ce544f 100644 (file)
@@ -137,7 +137,6 @@ void dmub_dcn32_reset(struct dmub_srv *dmub)
 
 void dmub_dcn32_reset_release(struct dmub_srv *dmub)
 {
-       REG_WRITE(DMCUB_GPINT_DATAIN1, 0);
        REG_UPDATE(MMHUBBUB_SOFT_RESET, DMUIF_SOFT_RESET, 0);
        REG_WRITE(DMCUB_SCRATCH15, dmub->psp_version & 0x001100FF);
        REG_UPDATE_2(DMCUB_CNTL, DMCUB_ENABLE, 1, DMCUB_TRACEPORT_EN, 1);