xserver/hw/xfree86/common
Adam Jackson dd00e5466a xfree86: Remove broken RANDR disabling logic (v4)
The only way to get at xf86Info.disableRandR from configuration is
Option "RANDR" "foo" in ServerFlags, which probably nobody is using
seeing as it's not documented. The other way it could be set is if a
screen supports RANDR 1.2, in which case we set it to avoid trying to
use the RANDR 1.1 compat code. If the second screen is not 1.2-aware
then this would mean we don't do RANDR setup on the second screen at
all, which would almost certainly crash the first time you try to do
RANDR operations on the second screen.

Fix that all by deletion, and just check whether the screen already has
RANDR initialized before installing the stub support. If you want to
disable RANDR, use the Extensions section of xorg.conf instead.

v2: Also remove a now entirely pointless log message, telling you to
ignore a line we will no longer print.

v3: Explain the fallback path in InitOutput. (Keith Packard)

v4: Check whether the RANDR private key is initialized before trying to
use it to look up the screen private.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2018-01-29 14:31:34 -05:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
compiler.h Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
dgaproc.h dga: Hide a bunch of implementation details 2015-07-08 16:40:58 -04:00
extramodes xfree86: add default modes for 16:9 and 16:10 2018-01-18 14:16:35 -05:00
fourcc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
meson.build meson: Move the BUILD_DATE/TIME setup to configure time. 2017-09-13 11:14:57 -04:00
modeline2c.awk Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
xaarop.h xfree86: Drop some dead XAA decls from SDK headers 2012-07-25 14:03:31 -07:00
xf86.h xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86AutoConfig.c xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Build.sh meson: Include BUILD_DATE in the meson xf86Build.h. 2017-09-13 11:14:53 -04:00
xf86Bus.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Bus.h xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Config.c xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86Config.h loader: Turn LoaderListDirs into LoaderListDir 2017-01-25 14:22:06 -05:00
xf86Configure.c Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
xf86Cursor.c Remove SIGIO support for input [v5] 2016-05-26 16:07:54 -07:00
xf86DGA.c hw/xfree86: unvalidated lengths 2017-10-10 23:33:44 +02:00
xf86DPMS.c dix: Lift DPMS to a screen hook 2017-03-27 15:59:42 -04:00
xf86Events.c xfree86: remove xf86CaughtSignal etc. 2017-12-13 11:11:44 -05:00
xf86Extensions.c vidmode: move to a separate library of its own 2016-02-29 16:29:01 -05:00
xf86Extensions.h xf86: Re-export extension disable flags 2012-07-16 18:24:49 -07:00
xf86Globals.c xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86Helper.c xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86InPriv.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Init.c xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86MatchDrivers.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86Mode.c xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86Module.h xfree86: Bump video ABI to 24.0 2017-02-09 13:54:36 -05:00
xf86Opt.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Option.c xfree86: fix wrong usage of xf86optionListMerge 2017-01-11 11:13:33 +10:00
xf86Optionstr.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
xf86PM.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86PciInfo.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Priv.h xfree86: remove xf86CaughtSignal etc. 2017-12-13 11:11:44 -05:00
xf86Privstr.h xfree86: Remove broken RANDR disabling logic (v4) 2018-01-29 14:31:34 -05:00
xf86RandR.c xfree86: Remove pointless xf86RandRCreateScreenResources 2014-07-29 09:53:01 -04:00
xf86VGAarbiter.c xfree86: vgaarb: Initialize local variable rsrc_decodes 2016-08-15 12:30:39 -04:00
xf86VGAarbiter.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86VGAarbiterPriv.h xfree86: Hold input_lock across SPRITE functions in VGA arbiter 2017-12-13 12:06:31 -05:00
xf86VidMode.c vidmode: remove redundant DIX function 2016-02-29 16:29:14 -05:00
xf86Xinput.c xfree86: Silence a new glibc warning 2017-05-03 15:44:06 -04:00
xf86Xinput.h Drop valuator mask argument from GetKeyboardEvents 2015-03-13 12:31:21 +10:00
xf86cmap.c xfree86: Hook up colormaps and RandR 1.2 gamma code v6 2016-07-28 10:12:05 +09:00
xf86cmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86fbBus.c xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
xf86fbman.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
xf86fbman.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86noBus.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86pciBus.c xfree86: Move DRICreatePCIBusID to the PCI code 2017-06-20 16:37:24 -04:00
xf86pciBus.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86platformBus.c xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86platformBus.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86sbusBus.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
xf86sbusBus.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86str.h xfree86: Move DRICreatePCIBusID to xf86Pci.h 2017-06-22 10:53:08 -04:00
xf86xv.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
xf86xv.h xfree86: Remove xv clip notify driver hook 2014-09-26 15:27:18 -04:00
xf86xvmc.c xf86XvMCScreenInit: Clear pScreenPriv->dixinfo when freeing pAdapt 2018-01-24 11:21:08 -05:00
xf86xvmc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86xvpriv.h xfree86: Remove xv clip notify driver hook 2014-09-26 15:27:18 -04:00
xisb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xisb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgHelper.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgVersion.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00