]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add hardware reset interface for DMUB service
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 9 Jan 2020 19:41:22 +0000 (14:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:28 +0000 (16:55 -0500)
commit9012c2a6073f7cb8442199a431fb84b8550fe112
tree624e243ab0fe907832f2e5336039b6c3ee0e3189
parente88a86d9f569d6ea33e0015a1240b70cf11f89f4
drm/amd/display: Add hardware reset interface for DMUB service

[Why]
We'll need this to perform a clean shutdown before unloading the driver.

[How]
It will call reset internally and set hw_init to false. It won't do
anything if the hardware isn't initialized.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c