diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2024-04-12 15:58:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:54:05 -0400 |
commit | 3d1967ec9b990219c960b6da107231bf101e2255 (patch) | |
tree | 000aa573f44b74aa93c01d82713e31827f723079 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 6aa96aa8ffbed1efab4c6f3b0d6106e6bbadfc68 (diff) |
drm/amd/display: take ODM slice count into account when deciding DSC slice
[why]
DSC slice must be divisible by ODM slice count.
[how]
If DSC slice count is not a multiple of ODM slice count, increase DSC
slice until it is. Otherwise fail to compute DSC configuration.
Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions