]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: Fix DSC slice and delay calculations
authorSung Joon Kim <sungjoon.kim@amd.com>
Fri, 10 May 2024 16:18:31 +0000 (12:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:35:20 +0000 (15:35 -0400)
commitdf86486d905107e079afd82b45f8cd955d1c7d7b
tree4cdfa89bf1aa88d546e51531353707997d5988a8
parent82b7cde3f2658c0e6b3a46be594a76c3b2c9d89b
drm/amd/display: Fix DSC slice and delay calculations

[why]
There are other factors that determine the number
of DSC slices. The slices should not be determined
in DML but retrieve the value calculated from driver.

[how]
Update the logic to determine DSC slice.
Make DSCDelay per display pipe.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core_structs.h
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c