diff options
| author | Roman Li <roman.li@amd.com> | 2020-01-14 13:56:08 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-06 15:04:36 -0500 |
| commit | 2286d2f9e58cb0ae7b9db97106ce73613ab33e5e (patch) | |
| tree | 7add607adae4730be2f70b09e9caf7df64374199 /tools/perf/scripts/python/bin | |
| parent | e2d533eceb1feb0b8b965c3ff11184921532a28e (diff) | |
| download | linux-2286d2f9e58cb0ae7b9db97106ce73613ab33e5e.tar.gz linux-2286d2f9e58cb0ae7b9db97106ce73613ab33e5e.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/bin')
0 files changed, 0 insertions, 0 deletions
