diff options
author | 2021-09-28 16:05:27 -0400 | |
---|---|---|
committer | 2021-10-19 17:18:22 -0400 | |
commit | 94e587b8d1bbfb9fbce5b158c2b63d1af6a73af1 (patch) | |
tree | ec7370cee67887b619f27100fdd81569d84afdc0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: correct apg audio channel enable golden value (diff) | |
download | wireguard-linux-94e587b8d1bbfb9fbce5b158c2b63d1af6a73af1.tar.xz wireguard-linux-94e587b8d1bbfb9fbce5b158c2b63d1af6a73af1.zip |
drm/amd/display: Validate plane rects before use
[Why]
Calculation of scaling ratio can result in a crash due to zero'd src or
dst plane rects.
[How]
Validate that src and dst rects are valid before using for scaling
calculations.
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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