diff options
| author | Roman Li <[email protected]> | 2020-01-14 13:56:08 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-02-06 15:04:36 -0500 |
| commit | 2286d2f9e58cb0ae7b9db97106ce73613ab33e5e (patch) | |
| tree | 7add607adae4730be2f70b09e9caf7df64374199 /tools/perf/scripts/python | |
| parent | e2d533eceb1feb0b8b965c3ff11184921532a28e (diff) | |
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 <[email protected]>
Reviewed-by: Zhan Liu <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions