drm/amd/display: Enabled pipe harvesting in dcn30
authorDillon Varone <dillon.varone@amd.com>
Fri, 19 Feb 2021 23:15:30 +0000 (18:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:02:07 +0000 (23:02 -0400)
commitffe5650af0a140c0b3bf16f0d196c356fc849b3e
tree1cffba53591d489fd5fb4622dc3796cf5c80a94b
parentf78313fae91c33bf0d0622f5bebe5f72cbbd9d88
drm/amd/display: Enabled pipe harvesting in dcn30

[Why & How]
Ported logic from dcn21 for reading in pipe fusing to dcn30.
Supported configurations are 1 and 6 pipes. Invalid fusing
will revert to 1 pipe being enabled.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c