mesa/src/loader
Lucas Stach 77fcf70082 dri: don't call modifier interfaces when modifiers_count is 0
The wayland EGL platform sets the modifier count to 0 in some cases
to signal that modifiers should not be used, even if a list of modifiers
is present. The loader_dri_create_image helper didn't handle this case
properly and called the modifierful driver interface with a 0 modifier
count, leading to the obvious outcome of the driver being unable to
allocate an image.

Fixes: cb9ae4273d ("dri: add loader_dri_create_image helper")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10903>
2021-05-21 08:20:58 +00:00
..
Android.mk loader: prefer iris on Android 2021-03-31 06:28:18 +00:00
Makefile.sources dri: add loader_dri_create_image helper 2021-05-19 16:54:19 +00:00
loader.c loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
loader.h
loader_dri3_helper.c loader/dri3: convert to loader_dri_create_image 2021-05-19 16:54:19 +00:00
loader_dri3_helper.h
loader_dri_helper.c dri: don't call modifier interfaces when modifiers_count is 0 2021-05-21 08:20:58 +00:00
loader_dri_helper.h dri: add loader_dri_create_image helper 2021-05-19 16:54:19 +00:00
meson.build dri: add loader_dri_create_image helper 2021-05-19 16:54:19 +00:00
pci_id_driver_map.c
pci_id_driver_map.h i915c: Add a symlink for i830_dri.so 2021-05-03 23:03:09 +00:00