]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d399b23d8dfc974ec5dc5882da88d9033611b17
tree67dc5164f52a174edf8fc4b79bd82ed6403f9911
parentc1e20c1ea171433d04ff26a3cdba4bef70800e9d
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