mesa/src/loader
Eric Anholt 1e3b74ee73 loader: Warn when we fail to open a device node due to permissions.
This is definitely not the first time I've debugged why I'm getting swrast
on a device only to find out I'm not a member of the render node's group.

This does mean that you'll get a warning print even without EGL_LOG_LEVEL
set.  This may be an issue if we expect people outside of the DRI node's
group to actually be using swrast instead of getting their permissions
fixed.  Right now surfaceless throws a "libEGL warning: No hardware driver
found, falling back to software rendering" in that case anyway, so this is
just more informative.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3703>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3703>
2020-04-01 09:32:25 +00:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c loader: Warn when we fail to open a device node due to permissions. 2020-04-01 09:32:25 +00:00
loader.h loader: replace int/1/0 with bool/true/false 2019-10-07 21:30:16 +01:00
loader_dri3_helper.c loader: fix close on uninitialized file descriptor value 2019-12-19 00:51:36 +02:00
loader_dri3_helper.h loader/dri3: Enable adaptive_sync via _VARIABLE_REFRESH property 2018-12-28 16:44:47 +01:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
meson.build meson: Add a "prefer_iris" build option 2019-12-02 12:56:27 -08:00
pci_id_driver_map.c loader: s/int/bool/ for predicate result 2019-10-07 21:30:16 +01:00
pci_id_driver_map.h loader: Check if the kernel driver is i915 before loading iris 2020-01-28 15:35:09 -08:00
SConscript loader: Factor out the common driver opening logic from each loader. 2018-11-16 17:49:17 -08:00