mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dmub
Dillon Varone 9fe5d08fc8 drm/amd/display: Ensure that DMCUB fw in use is loaded by DC and not VBIOS
[Why?]
On wake from S3/S4, driver checks if DMUB is initialized. On S4 VBIOS loads
DMUB, and driver does not reload as it appears to be initialized already.

[How?]
Add a check for the DAL_FW bit to ensure that loaded FW is from driver and
not VBIOS.

Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-06-03 16:44:15 -04:00
..
inc drm/amd/display: Add DMCUB source files and changes for DCN32/321 2022-06-03 16:43:37 -04:00
src drm/amd/display: Ensure that DMCUB fw in use is loaded by DC and not VBIOS 2022-06-03 16:44:15 -04:00
dmub_srv_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dmub_srv.h drm/amd/display: Add DMCUB source files and changes for DCN32/321 2022-06-03 16:43:37 -04:00