drm/amd/display: Fix resetting DCN3.1 HW when resuming from S4
authorJude Shih <jude.shih@amd.com>
Tue, 6 Jul 2021 10:04:11 +0000 (18:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 01:02:29 +0000 (21:02 -0400)
commitd5c5ac3a7bca35261eb599204cbf1efee0af22cc
tree67dc5164f52a174edf8fc4b79bd82ed6403f9911
parentcd7b0531a61811429e7907c875e864ab918f3e62
drm/amd/display: Fix resetting DCN3.1 HW when resuming from S4

[Why] On S4 resume we also need to fix detection of when to reload DMCUB
firmware because we're currently using the VBIOS version which isn't
compatible with the driver version.

[How] Update the hardware init check for DCN31 since it's the ASIC that
has this issue.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Jude Shih <jude.shih@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c