Commit d0e138c3 authored by Dave Airlie's avatar Dave Airlie

dix: attach unbound screens to protocol screen 0 (v2)

This is the default attachment, unbound gpu screens get
attached to the 0 protocol screen.

detach on hotunplug.

v2: detach after tearing down crtc/outputs.
Reviewed-by: Keith Packard's avatarKeith Packard <>
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
Signed-off-by: default avatarDave Airlie <>
parent 4caad34c
......@@ -920,6 +920,9 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
for (i = 0; i < xf86NumGPUScreens; i++)
AttachUnboundGPU(xf86Screens[0]->pScreen, xf86GPUScreens[i]->pScreen);
......@@ -736,6 +736,11 @@ xf86CrtcCloseScreen(ScreenPtr screen)
crtc->randr_crtc = NULL;
/* detach any providers */
if (config->randr_provider) {
if (screen->current_master)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment