xserver/hw/xfree86
Daniel Stone 0c8e6ed858 modesetting: Set correct DRM event context version
DRM_EVENT_CONTEXT_VERSION is the latest context version supported by
whatever version of libdrm is present. modesetting was blindly asserting
it supported whatever version that may be, even if it actually didn't.

With libdrm 2.4.78, setting a higher context version than 2 will attempt
to call the page_flip_handler2 vfunc if it was non-NULL, which being a
random chunk of stack memory, it might well have been.

Set the version as 2, which should be bumped only with the appropriate
version checks.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-04-07 09:57:54 -04:00
..
common xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
ddc xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
dixmods glx/dri2: Don't build DRI loader if DRI2 isn't enabled 2016-10-27 14:25:42 +01:00
doc xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
dri dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
dri2 dri2: Sync i965_pci_ids.h from Mesa. 2017-03-20 13:11:28 -04:00
drivers modesetting: Set correct DRM event context version 2017-04-07 09:57:54 -04:00
exa xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
fbdevhw fbdevhw: Fix a const qualifier warning 2015-09-23 15:18:24 -04:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c xfree86: Fix null pointer dereference 2016-09-28 14:53:39 -04:00
int10 x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
loader loader: Handle mod->VersionInfo == NULL 2017-02-01 11:43:45 +10:00
man xfree86: Remove 24bpp pixmap format support (v2) 2017-03-17 15:14:38 -04:00
modes xserver: Unifdef HAVE_CONFIG_H 2017-03-23 13:19:51 -04:00
os-support tests: Avoid libtool message 2017-01-12 13:25:52 -05:00
parser parser: Fix crash when xf86nameCompare(s1 = x, s2 = NULL) 2017-03-15 16:07:10 -04:00
ramdac xfree86: Immediately handle failure to set HW cursor, v5 2017-02-08 12:04:42 -05:00
shadowfb shadowfb: Rename this particular shadow.c to shadowfb.c 2016-12-12 14:10:44 -05:00
utils xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
vbe xfree86: Change VBE version early-out to 1.2. (#22672) 2016-03-14 11:44:10 -04:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am vidmode: move to a separate library of its own 2016-02-29 16:29:01 -05:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
sdksyms.sh Revert "sdksyms: Tighten up the symbols we add to the magic table" 2017-03-16 14:19:37 -04:00
xorg-wrapper.c xfree86: Xorg.wrap: Do not require root rights for cards with 0 outputs 2016-10-26 12:40:23 -04:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00