xserver/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hans de Goede 5c7af02b10 xrandrprovider: Do not use separate lists for unbound / source / offload slaves
A single provider can be both a offload and source slave at the same time,
the use of seperate lists breaks in this case e.g. :

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 5 associated providers: 0 name:modesetting

xrandr --setprovideroutputsource 1 0x7b
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 1 name:modesetting
Provider 1: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 5 associated providers: 1 name:modesetting

xrandr --setprovideroffloadsink 1 0x7b
xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x7b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 2 name:modesetting
Provider 1: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 5 associated providers: 2 name:modesetting
Provider 2: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 5 associated providers: 2 name:modesetting

Not good. The problem is that the provider with id 0x46 now is on both
the output_slave_list and the offload_slave_list of the master screen.

This commit fixes this by unifying all 3 lists into a single slaves list.

Note that this does change the struct _Screen definition, so this is an ABI
break. I do not expect any of the drivers to actually use the removed / changed
fields so a recompile should suffice.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
2016-06-17 11:35:58 +02:00
..
.gitignore
busfault.h
callback.h
client.h
closestr.h
closure.h
colormap.h
colormapst.h
cursor.h
cursorstr.h
dbus-core.h
displaymode.h vidmode: move display mode definitions 2016-02-29 16:28:57 -05:00
dix-config-apple-verbatim.h
dix-config.h.in Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
dix.h dix: Add RootWindowFinalizeCallback 2016-04-18 11:22:58 -04:00
dixaccess.h
dixevents.h
dixfont.h
dixfontstr.h
dixfontstubs.h
dixgrabs.h
dixstruct.h Remove non-smart scheduler. Don't require setitimer. 2015-12-01 13:54:54 -05:00
eventconvert.h
events.h
eventstr.h Input: Add focus-in event source 2015-11-24 11:36:34 +10:00
exevents.h
extension.h
extinit.h
extnsionst.h
gc.h
gcstruct.h
globals.h dix: Use OsSignal() not signal() 2016-06-08 11:36:31 -04:00
glx_extinit.h
hotplug.h
input.h Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
inputstr.h
inpututils.h Input: Add DeviceEventSource enum 2015-11-24 11:36:32 +10:00
kdrive-config.h.in kdrive: Delete unused TOUCHSCREEN define. 2015-10-06 10:43:05 -04:00
list.h Fix uninitialized variable warnings reported by clang 2016-01-06 09:42:59 -05:00
Makefile.am vidmode: move to a separate library of its own 2016-02-29 16:29:01 -05:00
misc.h Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
miscstruct.h
nonsdk_extinit.h
opaque.h
optionstr.h
os.h xwayland: Use the CLOCK_MONOTONIC clock 2016-05-31 08:44:38 +10:00
pixmap.h prime: clean up slave bo properly. (v3) 2016-06-08 12:51:51 -04:00
pixmapstr.h
privates.h
probes.h
property.h dix: Remove redundant ChangeWindowProperty 2015-11-30 10:24:53 -05:00
propertyst.h
protocol-versions.h
ptrveloc.h
region.h
regionstr.h
registry.h
resource.h
rgb.h
screenint.h
scrnintstr.h xrandrprovider: Do not use separate lists for unbound / source / offload slaves 2016-06-17 11:35:58 +02:00
selection.h
servermd.h
site.h
swaprep.h
swapreq.h
systemd-logind.h
validate.h
version-config.h.in
vidmodestr.h vidmode: build without xf86vidmodeproto 2016-03-01 11:25:59 -05:00
window.h dix: Add hybrid full-size/empty-clip mode to SetRootClip 2016-02-22 13:26:31 -05:00
windowstr.h
XIstubs.h
xkb-config.h.in
xkbfile.h
xkbrules.h
xkbsrv.h xkb: add hook to allow/deny AccessX key repeat 2016-06-03 09:39:42 +02:00
xkbstr.h
xorg-config.h.in Allow compile-time selection of a fallback input driver 2016-06-08 13:08:32 -04:00
xorg-server.h.in kdrive: Delete unused TOUCHSCREEN define. 2015-10-06 10:43:05 -04:00
Xprintf.h
xserver-properties.h
xsha1.h
xwin-config.h.in