summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/inc
diff options
context:
space:
mode:
authorMohit Bawa <Mohit.Bawa@amd.com>2025-10-23 10:40:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-11-11 21:54:15 -0500
commitd7ef56dbfa2836fd83bdd8a1094b7616d715cc7f (patch)
tree052dadef961eecdaa3ea1a26c21e04dc858ead97 /drivers/gpu/drm/amd/display/modules/inc
parent3953a7ba61bd797e59d0ce27c9c51cfac223884a (diff)
drm/amd/display: refactor DSC cap calculation for dcn35
why: dcn35 currently uses a hardcoded DSC display clock value which is incorrect for some asic types. Newer DCN versions retrieve dsc display clock from clk_mgr. The same can be done for dcn35. how: Refactor the DSC cap calculation using pre-existing logic. Handle ODM combine requirements in dc_dsc.c. Replace hardcoded display clock with actual value retrieved from clk_mgr. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Mohit Bawa <Mohit.Bawa@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc')
0 files changed, 0 insertions, 0 deletions