Searched hist:"8 c2f14c36f47ce60e7c021ce8901006524f6f40e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dsc.h | diff 8c2f14c36f47ce60e7c021ce8901006524f6f40e Wed Mar 03 19:50:57 CST 2021 Dillon Varone <dillon.varone@amd.com> 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>
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | dc_dsc.c | diff 8c2f14c36f47ce60e7c021ce8901006524f6f40e Wed Mar 03 19:50:57 CST 2021 Dillon Varone <dillon.varone@amd.com> 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>
|