drm/amd/display: Improve FAM control for DCN401
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Mon, 29 Jul 2024 17:59:25 +0000 (11:59 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 14:51:45 +0000 (10:51 -0400)
commit17b6527dcfb3249401e037734ed3fd0f4752572f
treead28bce1b83c7802a1aef4721545eb30518f0d59
parent5ac2557d75f94777076885b5119d3b6755e6761d
drm/amd/display: Improve FAM control for DCN401

[why & how]
When the commit 5324e2b205a2 ("drm/amd/display: Add driver support for
future FAMS versions") was introduced, it missed some of the FAM2 code.
This commit introduces the code that control the FAM enable and disable.

Fixes: 5324e2b205a2 ("drm/amd/display: Add driver support for future FAMS versions")
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c