mirror-linux/drivers/gpu/drm/amd/display/dc/clk_mgr
Timur Kristóf 118800b079 drm/amd/display: Reject modes with too high pixel clock on DCE6-10
Reject modes with a pixel clock higher than the maximum display
clock. Use 400 MHz as a fallback value when the maximum display
clock is not known. Pixel clocks that are higher than the display
clock just won't work and are not supported.

With the addition of the YUV422	fallback, DC can now accidentally
select a mode requiring higher pixel clock than actually supported
when the DP version supports the required bandwidth but the clock
is otherwise too high for the display engine. DCE 6-10 don't
support these modes but they don't have a bandwidth calculation
to reject them properly.

Fixes: db291ed173 ("drm/amd/display: Add fallback path for YCBCR422")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-09-25 15:51:07 -04:00
..
dce60 drm/amd/display: Reject modes with too high pixel clock on DCE6-10 2025-09-25 15:51:07 -04:00
dce100 drm/amd/display: Reject modes with too high pixel clock on DCE6-10 2025-09-25 15:51:07 -04:00
dce110 drm/amd/display: Add pixel_clock to amd_pp_display_configuration 2025-09-15 16:52:41 -04:00
dce112
dce120
dcn10 drm/amd/display: Remove unused *vbios_smu_set_dprefclk 2025-04-22 08:51:45 -04:00
dcn20
dcn21 drm/amd/display: Remove unused *vbios_smu_set_dprefclk 2025-04-22 08:51:45 -04:00
dcn30 drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
dcn31 drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
dcn32 drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
dcn35 drm/amd/display: Init DCN35 clocks from pre-os HW values 2025-09-23 10:33:37 -04:00
dcn201 drm/amdgpu: rename register headers to dcn_2_0_1 2024-12-10 10:37:34 -05:00
dcn301 drm/amd/display: update dpp/disp clock from smu clock table 2025-08-04 14:38:59 -04:00
dcn314 drm/amd/display: Init dispclk from bootup clock for DCN314 2025-09-23 10:27:01 -04:00
dcn315 drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
dcn316 drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
dcn401 drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
Makefile drm/amd/display: Initial support for SmartMux 2025-07-15 14:07:53 -04:00
clk_mgr.c drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00