diff options
author | Evan Quan <evan.quan@amd.com> | 2022-07-06 16:38:38 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-07 15:54:17 -0400 |
commit | 1f374171fd345aaad9fcb30ac3acd255b5cd2076 (patch) | |
tree | 6c6aeedc99a1ebb10880e617ad7beef6484500ef /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 371409df9236bd1abedc143e76fdd7080cba3ba3 (diff) |
drm/amd/display: correct idle_power_optimizations disablement return value
[Why]
The return value indicates whether the operation(disable/enable) succeeded
or not. The existing logic reports wrong result even if the disablement was
performed successfully. That will make succeeding reenablement abandoned
as dc->idle_optimizations_allowed is always true.
[How]
Correct the return value to reflect the real result of disablement.
Fixes: 235c67634230 ("drm/amd/display: add DCN32/321 specific files for Display Core")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions