aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSung Lee <sung.lee@amd.com>2020-03-30 17:16:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-04-22 18:11:47 -0400
commit0b1f04d8876bd1397d3c2c837c3ea4cc77773698 (patch)
tree5707c5f743948241e0cba0b68cb7cac7103fb536 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amd/display: Set meta_chunk_value to 0 in DML if DCC disabled in DCN2.1 (diff)
downloadlinux-dev-0b1f04d8876bd1397d3c2c837c3ea4cc77773698.tar.xz
linux-dev-0b1f04d8876bd1397d3c2c837c3ea4cc77773698.zip
drm/amd/display: Cast int to float before division
[Why]: Some inputs to dml_ceil have it dividied by int which causes a truncation. This loss of precision means the ceil function becomes redundant and does not round up. [How]: Cast parameter to float before division. Signed-off-by: Sung Lee <sung.lee@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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