Skip to content

DC: Reject too high pixel clocks on DCE6-10

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amd/display: Reject modes with too high pixel clock on DCE6-10drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/dce60_clk_mgr.c drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c +2 more+35 -30 replies
2/3drm/amd/display: Share dce100_validate_bandwidth with DCE6-8drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.h drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c +1 more+18 -770 replies
3/3drm/amd/display: Share dce100_validate_global with DCE6-8drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.h drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c +1 more+7 -631 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Deucher
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] DC: Reject too high pixel clocks on DCE6-10

Reject modes with a pixel clock higher than the maximum display clock. These were never supported, but we haven't noticed the issue until the YCbCr 422 fallback was recently added.

For example, the DP 1.2 standard technically supports 4K 120Hz YCbCr 422 6 bpc, but in practice the pixel clock is too high on these old GPUs.

Additionally, there are two small code cleanup patches to avoid excessive code duplication.

Timur Kristóf (3):
drm/amd/display: Reject modes with too high pixel clock on DCE6-10 drm/amd/display: Share dce100_validate_bandwidth with DCE6-8 drm/amd/display: Share dce100_validate_global with DCE6-8

 .../display/dc/clk_mgr/dce100/dce_clk_mgr.c   |  3 +
 .../display/dc/clk_mgr/dce60/dce60_clk_mgr.c  |  5 ++
 .../dc/resource/dce100/dce100_resource.c      | 25 +++++--
 .../dc/resource/dce100/dce100_resource.h      |  9 +++
 .../dc/resource/dce60/dce60_resource.c        | 69 +------------------
 .../dc/resource/dce80/dce80_resource.c        | 60 +---------------
 6 files changed, 44 insertions(+), 127 deletions(-)
Signature · 1 line
2.51.0