summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorGabe Teeger <gabe.teeger@amd.com>2026-07-27 10:53:57 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-08-25 18:25:24 -0400
commit50eed169c0ab2a433a2ff9e95a3cc45ebb4dafaa (patch)
tree65d08571e796c65f3c116f0280433ca2f2385220 /drivers/gpu/drm/amd/display/include
parent02be6d6827a00da100f3dc79f301f7cb45d666f6 (diff)
downloadlinux-next-50eed169c0ab2a433a2ff9e95a3cc45ebb4dafaa.tar.gz
linux-next-50eed169c0ab2a433a2ff9e95a3cc45ebb4dafaa.zip
drm/amd/display: clamp force_min_dcfclk to dcn42b range
[Why] The force_min_dcfclk_mhz debug option can request a DCFCLK outside the dcn42b hardware limits, which risks driving the clock below its minimum or above its maximum. [How] Add a dcn42b_update_clocks wrapper that clamps force_min_dcfclk_mhz to [200, 600] MHz (0 leaves it disabled) before calling the shared dcn42_update_clocks, keeping the clamp specific to dcn42b, and wire it into the dcn42b clk_mgr funcs. Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com> Signed-off-by: Gabe Teeger <gabe.teeger@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
0 files changed, 0 insertions, 0 deletions