diff options
| author | 2025-06-20 16:23:43 -0400 | |
|---|---|---|
| committer | 2025-07-15 14:07:51 -0400 | |
| commit | d7b618bc41ee3d44c070212dff93949702ede997 (patch) | |
| tree | 22d5ace62b74e8c5b6f6c48e064c97c74ad719fa /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | drm/amd/display: Make dcn401_initialize_min_clocks() available to other compilation units (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 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
