diff options
| author | Thomas Zimmermann <[email protected]> | 2022-05-17 13:33:24 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2022-05-19 19:25:02 +0200 |
| commit | 746b9c62cc8614fa59c23f3332682b5e9e1d801c (patch) | |
| tree | c9c4bbce1089935a06f57e478e533e34453e9f9e /tools/perf/scripts/python | |
| parent | f159b1b22c8a2d3d7c1fa877fafc8aacff0deeba (diff) | |
drm/gem: Ignore color planes that are unused by framebuffer format
Only handle color planes that exist in a framebuffer's color format.
Ignore non-existing planes.
So far, several helpers assumed that all 4 planes are available and
silently ignored non-existing planes. This lead to subtil bugs with
uninitialized data in instances of struct iosys_map. [1]
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Tested-by: Noralf Trønnes <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://lore.kernel.org/dri-devel/[email protected]/T/#md0172b10bb588d8f20f4f456e304f08d2a4505f7 # 1
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions