diff options
author | Dillon Varone <dillon.varone@amd.com> | 2021-03-04 04:50:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-24 06:32:31 +0300 |
commit | 8c2f14c36f47ce60e7c021ce8901006524f6f40e (patch) | |
tree | 4faa1c09e9aad8844d2ae56a844bd11de17e90e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 86ca3cbe5c9ca8e7d47424c98fc7b49b34b67d96 (diff) | |
download | linux-8c2f14c36f47ce60e7c021ce8901006524f6f40e.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions