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:17:58 +0000 (21:17 -0400)
commitf39b21c499585b822da3975a7651007acf012f09
tree04581330d65078f59f0b937e0c64696f0df6d719
parent8c0fc3bf1a9f1a399550e930dda1035d0aa58fdc
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