mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-24 06:53:26 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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> |
||
| .. | ||
| .gitignore | ||
| busfault.h | ||
| callback.h | ||
| client.h | ||
| closestr.h | ||
| closure.h | ||
| colormap.h | ||
| colormapst.h | ||
| cursor.h | ||
| cursorstr.h | ||
| dbus-core.h | ||
| displaymode.h | ||
| dix-config-apple-verbatim.h | ||
| dix-config.h.in | ||
| dix.h | ||
| dixaccess.h | ||
| dixevents.h | ||
| dixfont.h | ||
| dixfontstr.h | ||
| dixfontstubs.h | ||
| dixgrabs.h | ||
| dixstruct.h | ||
| eventconvert.h | ||
| events.h | ||
| eventstr.h | ||
| exevents.h | ||
| extension.h | ||
| extinit.h | ||
| extnsionst.h | ||
| gc.h | ||
| gcstruct.h | ||
| globals.h | ||
| glx_extinit.h | ||
| hotplug.h | ||
| input.h | ||
| inputstr.h | ||
| inpututils.h | ||
| kdrive-config.h.in | ||
| list.h | ||
| Makefile.am | ||
| misc.h | ||
| miscstruct.h | ||
| nonsdk_extinit.h | ||
| opaque.h | ||
| optionstr.h | ||
| os.h | ||
| pixmap.h | ||
| pixmapstr.h | ||
| privates.h | ||
| probes.h | ||
| property.h | ||
| propertyst.h | ||
| protocol-versions.h | ||
| ptrveloc.h | ||
| region.h | ||
| regionstr.h | ||
| registry.h | ||
| resource.h | ||
| rgb.h | ||
| screenint.h | ||
| scrnintstr.h | ||
| selection.h | ||
| servermd.h | ||
| site.h | ||
| swaprep.h | ||
| swapreq.h | ||
| systemd-logind.h | ||
| validate.h | ||
| version-config.h.in | ||
| vidmodestr.h | ||
| window.h | ||
| windowstr.h | ||
| XIstubs.h | ||
| xkb-config.h.in | ||
| xkbfile.h | ||
| xkbrules.h | ||
| xkbsrv.h | ||
| xkbstr.h | ||
| xorg-config.h.in | ||
| xorg-server.h.in | ||
| Xprintf.h | ||
| xserver-properties.h | ||
| xsha1.h | ||
| xwin-config.h.in | ||