drm/amd/display: Allow dmub srv hardware reset before HW init
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 15 Dec 2020 14:19:20 +0000 (09:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:19 +0000 (16:38 -0500)
commiteee9647490b6129a632058aa8c4be503443650f3
tree1a7f933404bc8bcd0f92799b970dc97cb99949c5
parenta0ffc3fd67e72bf5f1d4369a9b7448653127590c
drm/amd/display: Allow dmub srv hardware reset before HW init

[Why]
We need hardware reset before hardware init for backdoor loading when
we're reusing the framebuffer memory.

[How]
This doesn't run if the hardware isn't already in reset from software
perspective. The reset function has register level checks so just
remove the software one here.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c