]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Reset DMCUB before HW init
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 10 Dec 2021 23:04:05 +0000 (15:04 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Dec 2021 22:55:13 +0000 (17:55 -0500)
commit301e6095afc56f199c0723696f7b92b3a0ceb446
treefcd15fbe84a2d2d22d8e9f59b5465f759d3e9f5e
parentf2d195470056627bd3b8e17cfc851abed68443be
drm/amd/display: Reset DMCUB before HW init

[Why]
If the firmware wasn't reset by PSP or HW and is currently running
then the firmware will hang or perform underfined behavior when we
modify its firmware state underneath it.

[How]
Reset DMCUB before setting up cache windows and performing HW init.

Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c