mesa/src
Adam Jackson 1b87f4058d egl/dri2: Don't dlclose() the driver on dri2_load_driver_common failure
... because it's wrong to do so. The error path out of
dri2_initialize_drm ends with dri2_display_destroy, which calls
functions in the vtable we're trying to set up, so if we dlclose the
driver then those function pointers will point off into space and things
crash.

Noticed this because after !1923 eglinfo would crash when setting up the
GBM platform. This was something of a cascade failure, because my kernel
is too old for DRM_IOCTL_I915_GETPARAM to work without DRM_AUTH, so i965
wouldn't load. platform_drm.c then got very confused when it tries to
load swrast as a dri2 driver.

Reviewed-by: Eric Anholt <eric@anholt.net>
2019-10-03 09:39:51 -04:00
..
amd radv: Fix warning in 32-bit build. 2019-10-03 13:06:08 +00:00
broadcom v3d: Enable the late algebraic optimizations to get real subs. 2019-09-30 09:44:10 +00:00
compiler glsl: Add helperInvocationEXT() builtin 2019-09-30 12:44:30 -07:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl egl/dri2: Don't dlclose() the driver on dri2_load_driver_common failure 2019-10-03 09:39:51 -04:00
etnaviv etnaviv: Add valgrind support 2019-08-14 10:36:20 +02:00
freedreno freedreno: Enable the nir_opt_algebraic_late() pass. 2019-09-30 09:44:10 +00:00
gallium virgl: honor winsys supplied metadata 2019-10-02 17:57:59 -07:00
gbm libgbm: Wire up getCapability for the image loader 2019-09-20 19:10:31 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: Log the filename of the drm device if we fail to open it 2019-09-30 15:30:16 +00:00
gtest
hgl haiku: fix Mesa build 2019-10-01 10:31:02 +00:00
imgui
intel intel: fix topology query 2019-10-02 22:25:44 +00:00
loader loader: Avoid use-after-free / use of uninitialized local variables 2019-09-26 18:00:34 +02:00
mapi meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
mesa mesa: don't forget to clear _Layer field on texture unit 2019-10-01 21:49:13 +03:00
panfrost pan/midgard: Allow scheduling conditions with constants 2019-09-30 08:40:13 -04:00
util util/rb_tree: Stop relying on &iter->field != NULL 2019-09-26 20:36:41 +00:00
vulkan vulkan: Update the XML and headers to 1.1.123 2019-09-17 04:11:05 +00:00
meson.build meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
SConscript