aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMikita Lipski <mikita.lipski@amd.com>2020-08-26 08:00:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:52:08 -0400
commit8532467cc9019fdff9d98cfeb68b6c3eb19eadf7 (patch)
tree25672e93422654ed2a23bf7b5796cad5ad897fd6 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amd/display: Add function and debugfs to dump DCC_EN bit (diff)
downloadwireguard-linux-8532467cc9019fdff9d98cfeb68b6c3eb19eadf7.tar.xz
wireguard-linux-8532467cc9019fdff9d98cfeb68b6c3eb19eadf7.zip
drm/amd/display: Set initial value to a divider
[why/how] Due to compiler optimization the values would be passed to the division function uninitialized causing a div by zero. Initialize the numerator and denominator to 0 and 1 to prevent division by zero. Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@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