]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4502231f8cd331b2ac0259d3cb59140fc69633dd
tree1a7f933404bc8bcd0f92799b970dc97cb99949c5
parentd8ebfae378e73a739415092277839a9009162f0a
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