xserver/hw/xfree86
Doug Brown 9bfdd642f2 dri2: Protect against dri2ClientPrivate assertion failures
If DRI2ScreenInit hasn't been called yet, DRI2Authenticate and
DRI2CreateDrawable2 cause the X server to crash. This has been observed
to happen on multiple modern Linux distros in various conditions,
including QEMU and VMware VMs. Make these functions more robust in order
to prevent the crash.

This patch was originally provided by Bernhard Übelacker and expanded
upon by Mark Wagner.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1534
2025-02-13 14:09:48 +01:00
..
common (!1688) os: directly set log file sync flag, instead of using LogSetParameter() 2025-02-13 14:09:47 +01:00
ddc xfree86: common: use LogMessageVerb() instead of xf86Msg() 2025-02-07 22:40:06 +00:00
dixmods (submit/miext-extinit) treewide: clean up remaining consumers of extinit.h 2025-02-13 14:09:46 +01:00
doc (!1788) xfree86: doc: update docs on XF86ModuleData 2025-02-13 14:09:14 +01:00
dri (submit/miext-extinit) treewide: clean up remaining consumers of extinit.h 2025-02-13 14:09:46 +01:00
dri2 dri2: Protect against dri2ClientPrivate assertion failures 2025-02-13 14:09:48 +01:00
drivers (submit/vrr-driver-api) modesetting: use new VRR mode signaling DDX/driver API 2025-02-13 14:09:46 +01:00
exa (!1788) xfree86: exa: use explicit field initializers for XF86ModuleData 2025-02-13 14:09:01 +01:00
fbdevhw (!1788) xfree86: fbdevhw: use explicit field initializers for XF86ModuleData 2025-02-13 14:08:56 +01:00
glamor_egl drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
i2c xfree86: i2c: use LogMessageVerb() instead of xf86Msg() 2025-02-07 22:40:06 +00:00
int10 (!1688) os: unexport internal logging functions 2025-02-13 14:09:47 +01:00
loader (submit/drop-cygwin) drop remains of cygwin support 2025-02-13 14:09:47 +01:00
man (!1688) xfree86: man: add -syslogverbse flag 2025-02-13 14:09:47 +01:00
modes xfree86: ddc: move private definitions from xf86DDC.h to xf86DDC_priv.h 2025-02-06 23:51:34 +00:00
os-support bsd: drop PCCONS support 2025-02-13 14:09:48 +01:00
parser (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2025-02-13 14:09:47 +01:00
ramdac mi: unexport miPointerWarpCursor() 2025-02-06 14:38:05 +00:00
shadowfb (!1788) xfree86: xfbmodule: use explicit field initializers for XF86ModuleData 2025-02-13 14:08:46 +01:00
utils Remove autotools support 2021-10-27 13:15:40 +03:00
vgahw (!1688) os: unexport internal logging functions 2025-02-13 14:09:47 +01:00
x86emu xfree86: x86emu: rename segment register fields 2024-06-18 00:41:38 +00:00
xkb dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-10-10 13:50:57 +00:00
.gitignore
Xorg.sh.in
meson.build (submit/drop-cygwin) drop remains of cygwin support 2025-02-13 14:09:47 +01:00
sdksyms.sh (submit/selection.h) dix: don't install selection.h anymore 2025-02-13 14:09:47 +01:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00