aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/bios/command_table.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2025-08-21 06:26:47 +0000
committerDave Airlie <[email protected]>2025-08-21 06:27:14 +0000
commitdbb2c3adc4a641d9f136005285bcbba15227249c (patch)
treeb86a0d9c46abcb00b05c34638106cc5c1682d25d /drivers/gpu/drm/amd/display/dc/bios/command_table.c
parentMerge tag 'drm-intel-fixes-2025-08-20' of https://gitlab.freedesktop.org/drm/... (diff)
parentdrm/amd/display: Fix DP audio DTO1 clock source on DCE 6. (diff)
downloadkernel-dbb2c3adc4a641d9f136005285bcbba15227249c.tar.gz
kernel-dbb2c3adc4a641d9f136005285bcbba15227249c.zip
Merge tag 'amd-drm-fixes-6.17-2025-08-20' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
amd-drm-fixes-6.17-2025-08-20: amdgpu: - Replay fixes - SMU14 fix - Null check DC fixes - DCE6 DC fixes - Misc DC fixes Signed-off-by: Dave Airlie <[email protected]> From: Alex Deucher <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/bios/command_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table.c b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
index 2bcae0643e61..58e88778da7f 100644
--- a/drivers/gpu/drm/amd/display/dc/bios/command_table.c
+++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
@@ -993,7 +993,7 @@ static enum bp_result set_pixel_clock_v3(
allocation.sPCLKInput.usFbDiv =
cpu_to_le16((uint16_t)bp_params->feedback_divider);
allocation.sPCLKInput.ucFracFbDiv =
- (uint8_t)bp_params->fractional_feedback_divider;
+ (uint8_t)(bp_params->fractional_feedback_divider / 100000);
allocation.sPCLKInput.ucPostDiv =
(uint8_t)bp_params->pixel_clock_post_divider;