On 5/9/22 10:16, Thomas Zimmermann wrote:
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 tzimmermann@suse.de Link: https://lore.kernel.org/dri-devel/20210730183511.20080-1-tzimmermann@suse.de... # 1
Reviewed-by: Javier Martinez Canillas javierm@redhat.com