diff options
author | Timur Kristóf <timur.kristof@gmail.com> | 2025-07-22 17:58:30 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-04 15:39:42 -0400 |
commit | 1c8dc3e088e09531bcdfc9fe348204abc3decb6c (patch) | |
tree | 074fbb8237c94631c8d7da13a255a43a9538353e /lib/crypto/mpi/mpicoder.c | |
parent | 4db9cd554883e051df1840d4d58d636043101034 (diff) |
drm/amd/display: Fix DCE 6.0 and 6.4 PLL programming.
Apparently, both DCE 6.0 and 6.4 have 3 PLLs, but PLL0 can only
be used for DP. Make sure to initialize the correct amount of PLLs
in DC for these DCE versions and use PLL0 only for DP.
Also, on DCE 6.0 and 6.4, the PLL0 needs to be powered on at
initialization as opposed to DCE 6.1 and 7.x which use a different
clock source for DFS.
The following functions were used as reference from the old
radeon driver implementation of DCE 6.x:
- radeon_atom_pick_pll
- atombios_crtc_set_disp_eng_pll
Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 35222b5934ec8d762473592ece98659baf6bc48e)
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions