drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
authorGeorge Shen <george.shen@amd.com>
Tue, 11 Jul 2023 17:22:36 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:23 +0000 (09:42 +0200)
commitfaa77cf5f28f4bbfbbb00f7e0caa2c8561f7dfe0
treebc4dc4effc767c32207fa04db5ae4d4ebb629db7
parentd7b1aa3e209841834965541988154c296196a808
drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family

[ Upstream commit 25b054c3c89cb6a7106a7982f0f70e83d0797dab ]

[Why]
Current yellow carp B0 PHYD32CLK logic is incorrectly applied to other
ASICs.

[How]
Add guard to check chip family is yellow carp before applying logic.

Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c