]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Fix S4 hang polling on HW power up done for VBIOS DMCUB
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 5 Feb 2024 22:13:40 +0000 (17:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:18:00 +0000 (10:18 -0500)
commitc4a060372590848d886c24b8215139cab122c0ed
treeeb9e61e4e61e5592930843b1d879435b549ae553
parent4af4d2c275aeb667bc2bca0d2135b825e931a55a
drm/amd/display: Fix S4 hang polling on HW power up done for VBIOS DMCUB

[Why]
VBIOS DMCUB firmware doesn't set the dal_fw bit and we end up hanging
waiting for HW power up done because of it.

[How]
Simplify the path and allow mailbox_rdy to be a functional check when
we detect VBIOS firmware.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c