From: jsg Date: Tue, 13 Jun 2023 02:48:26 +0000 (+0000) Subject: drm/amd/display: Do not clear GPINT register when releasing DMUB from reset X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9d180f66ea3f937b7871cf908b003e2c267ca477;p=openbsd drm/amd/display: Do not clear GPINT register when releasing DMUB from reset From Aurabindo Pillai 7bba2e5e096e005f9ea5dba85a224caf9e80909f in linux-6.1.y/6.1.29 99d92eaca5d915763b240aae24669f5bf3227ecf in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c b/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c index b0adbf783aa..9c20516be06 100644 --- a/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c +++ b/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c @@ -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);