diff options
author | 2019-11-25 09:49:27 -0500 | |
---|---|---|
committer | 2019-12-18 16:09:09 -0500 | |
commit | 8c7aea404d55dabc71df792c850aed5536ece2fd (patch) | |
tree | 50d1db82ffec9f9df0a1a0f2ca9fe96929d34636 /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amd/display: Map ODM memory correctly when doing ODM combine (diff) | |
download | wireguard-linux-8c7aea404d55dabc71df792c850aed5536ece2fd.tar.xz wireguard-linux-8c7aea404d55dabc71df792c850aed5536ece2fd.zip |
drm/amd/display: Perform DMUB hw_init on resume
[Why]
The DMUB is put into reset on suspend and is not running on resume,
disabling PSR/ABM features.
[How]
Move the allocation of the framebuffer to sw_init.
Do DMUB hardware init and framebuffer filling only from hw_init.
On resume the contents of the framebuffer will be invalid so those
should be cleared.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions