]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Update get_pixel_clk_frequency() for DCN4x DCCG DP DTO
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Fri, 1 May 2026 23:38:13 +0000 (19:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:31:08 +0000 (13:31 -0400)
commit6f6483dbfacd2269da68cb97db996c0f31f650f2
tree50a42e0be28d5d64ec1642e606115b89b700e6a3
parent470d1ae31d29f90b8998c5c08ee0b267a05fe378
drm/amd/display: Update get_pixel_clk_frequency() for DCN4x DCCG DP DTO

[Why & How]
DCN4x ASICs have different DCCG logic for programming DP DTO. The current
get_pixel_clk_frequency_100hz() function does not account for this.

Rename the function to "get_dp_dto_frequency" to more accurately
reflect its intended behaviour. Create a new function that correctly
calculates the target pixel rate for DCN4.x DCCG design and use it.

Reviewed-by: Leo Chen <leo.chen@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/clock_source.h