-
- Downloads
drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations
[Why?] Some code still expected bpp to be used in whole bits, not 16ths. dsc.c uses redundant function now found in dc to calculate stream bandwidth from timing. [How?] Fix code to work with 16ths instead of whole bits for dsc bpp. Refactor get_dsc_bandwidth to accept inputs in 16ths of a bit. Use dc function to calculate bandwidth from timing, and make dsc bw calculation a part of dsc.c. Tested-by:Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Dillon Varone <dillon.varone@amd.com> Reviewed-by:
Wenjing Liu <Wenjing.Liu@amd.com> Acked-by:
Solomon Chiu <solomon.chiu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/display/dc/core/dc_link.c 3 additions, 6 deletionsdrivers/gpu/drm/amd/display/dc/core/dc_link.c
- drivers/gpu/drm/amd/display/dc/dc_dsc.h 6 additions, 3 deletionsdrivers/gpu/drm/amd/display/dc/dc_dsc.h
- drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c 34 additions, 71 deletionsdrivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
Loading