diff options
author | 2020-01-14 13:56:08 -0500 | |
---|---|---|
committer | 2020-02-11 12:10:41 -0500 | |
commit | 7aa62404dfdefd759e6a5f8923a0b0704729295f (patch) | |
tree | 4e335a71dff37a09321e85d7a396ec2a8d2fe18b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.6-rc1 (diff) | |
download | wireguard-linux-7aa62404dfdefd759e6a5f8923a0b0704729295f.tar.xz wireguard-linux-7aa62404dfdefd759e6a5f8923a0b0704729295f.zip |
drm/amd/display: Fix psr static frames calculation
[Why]
Driver crash with psr feature enabled due to divide-by-zero error.
This is a regression after rework to calculate static screen frame
number entry time.
[How]
Correct order of operations to avoid divide-by-zero.
Signed-off-by: Roman Li <roman.li@amd.com>
Reviewed-by: Zhan Liu <Zhan.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@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