summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2022-03-23 23:06:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-05 17:29:48 +0300
commit73b1da69f5314d96e1f963468863eaa884ee1030 (patch)
treecc796e6b4fe557563947968d319ca4168efe31a5 /tools/perf/scripts/python/export-to-postgresql.py
parent176cd4385aea1e1c1e41c1b8e02764558e4f6a3c (diff)
downloadlinux-73b1da69f5314d96e1f963468863eaa884ee1030.tar.xz
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 <daniel.wheeler@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Michael Strauss <michael.strauss@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