OSDN Git Service

drm/amd/display: Soft reset DMUIF during DMUB reset
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 12 Dec 2019 02:26:40 +0000 (21:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:51:24 +0000 (13:51 -0500)
commit1295524e6fee9a978ea2d97a0efc269252b07487
tree7920bc5a10982509fa3399f7c625063553949976
parentdee5d542836a911b0175f9cccc25b8f5733e2527
drm/amd/display: Soft reset DMUIF during DMUB reset

[Why]
We need to ensure that the DMUIF in MMHUBBUB is also in reset so we
aren't generating requests while the DMCUB is in reset.

[How]
Set DMUIF_SOFT_RESET=1 on reset and DMUIF_SOFT_RESET=0 on reset
release.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h