]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit58f495101409ddd740a9fbfd23499298eeb0ec6f
tree7920bc5a10982509fa3399f7c625063553949976
parent319797736d1deec1823dce2cb873258c5cf85c6c
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