diff options
author | Dillon Varone <dillon.varone@amd.com> | 2025-06-20 16:23:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-15 14:07:51 -0400 |
commit | d7b618bc41ee3d44c070212dff93949702ede997 (patch) | |
tree | 22d5ace62b74e8c5b6f6c48e064c97c74ad719fa /scripts/rustdoc_test_builder.rs | |
parent | a1619668d41f6f3c26b5dc5bff68456eeaa02cbe (diff) |
drm/amd/display: Refactor DSC cap calculations
[WHY]
DSC block level should only be responsible for reporting single DSC
instance capabilities. Factoring in ODM combine requirements should be
handled in dc_dsc.c. Both components should acquire clocks from clk_mgr
to determine throughput capabilities instead of relying on hard coded
values as these can differ by SoC and SKU.
[HOW]
1) Add dsc_get_single_enc_caps to acquire single DSC instance
capabilities (replacing dsc_get_enc_caps), factoring in DSCCLK
2) add build_dsc_enc_caps to combine single DSC instance capabilities
3) account for max pixel rate per pipe (DISPCLK) when calculating
minimum slice count
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions