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, 10 Mar 2021 21:17:27 +0000 (16:17 -0500)
commitd2c91285958a3e77db99c352c136af4243f8f529
treea84224e6dd266f2f8f0420588259c9ab09e37b2d
parentb0075d114c33580f5c9fa9cee8e13d06db41471b
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