diff options
| author | Michael Strauss <[email protected]> | 2022-03-23 16:06:25 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-05 10:29:48 -0400 |
| commit | 73b1da69f5314d96e1f963468863eaa884ee1030 (patch) | |
| tree | cc796e6b4fe557563947968d319ca4168efe31a5 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 176cd4385aea1e1c1e41c1b8e02764558e4f6a3c (diff) | |
drm/amd/display: Check for invalid input params when building scaling params
[WHY]
Function to calculate scaling ratios can be called with invalid plane
src/dest, causing a divide by zero.
[HOW]
Fail building scaling params if plane state src/dest rects are
unpopulated
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Michael Strauss <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions