diff options
author | 2020-01-13 10:26:19 -0500 | |
---|---|---|
committer | 2020-01-22 16:55:28 -0500 | |
commit | 7527791e1fbd595a294cf6e6f41999d8acf6c43f (patch) | |
tree | 87f1d2606c9910962077162a93e03698efb2d76d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: fix rotation_angle to use enum values (diff) | |
download | linux-dev-7527791e1fbd595a294cf6e6f41999d8acf6c43f.tar.xz linux-dev-7527791e1fbd595a294cf6e6f41999d8acf6c43f.zip |
drm/amd/display: Fix update type for multiple planes
[Why]
determine_update_type_for_commit() uses pointers to single instance
of local variable to fill scaling/color info for all planes updates.
This is a bug, that leads to incorrect update type for commit in case
of multiple planes per crtc.
Each plane should refer to separate scaling/color data.
[How]
Use arrays for plane properties.
Bundle all properties into a single structure to simplify memory allocation.
Signed-off-by: Roman Li <roman.li@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions