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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 20:19:24 +0000 (16:19 -0400)
commit25b054c3c89cb6a7106a7982f0f70e83d0797dab
tree5e364c71d77fd74a1d31b72302eb464448f8f062
parent4a37c55b859a69f429bfa7fab4fc43ee470b60ed
drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family

[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>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c