1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/modules
Wenjing Liu 580013b2ce drm/amd/display: unhard code link to phy idx mapping in dc link and clean up
[why]
1. Current code hard codes link to PHY mapping in dc link level per asic
per revision.
This is not scalable. In long term the mapping will be obatined from
DMUB and store in dc resource.

2. Depending on DCN revision and endpoint type, the definition of
dio_output_idx dio_output_type and phy_idx are not  consistent. We need
to unify the meaning of these hardware indices across different system
configuration.

[how]
1. Temporarly move the hardcoded mapping to dc_resource level, which
should have full awareness of asic specific configuration and add a TODO
comment to move the mapping to DMUB.

2. populate dio_output_idx/phy_idx for all configuration, define
usb4_enabled bit instead of dio_output_type as an external enum.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-01-07 17:21:20 -05:00
..
color drm/amd/display: Revert adding degamma coefficients 2021-09-14 15:57:10 -04:00
freesync drm/amd/display: Get ceiling for v_total calc 2021-10-28 14:26:14 -04:00
hdcp drm/amd/display: Fix deadlock when falling back to v2 from v3 2021-10-28 14:26:51 -04:00
inc drm/amd/display: unhard code link to phy idx mapping in dc link and clean up 2022-01-07 17:21:20 -05:00
info_packet drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting 2021-01-14 13:20:20 -05:00
power drm/amd/display: tune backlight ramping profiles 2021-06-15 17:25:40 -04:00
vmid drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00