From 382dd45bb88fa92764bf0ecd655cb9890eb84960 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 24 May 2012 15:39:05 +0100 Subject: dix: add ability to link output slave gpus to the current gpu (v1.1) Just add the interfaces to attach/detach output slaves, and a linked list to keep track of them. Hook up the randr providers list to include these slaves. v1.1: add another assert to the add path. Reviewed-by: Keith Packard Reviewed-by: Adam Jackson Signed-off-by: Dave Airlie --- include/screenint.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/screenint.h') diff --git a/include/screenint.h b/include/screenint.h index c0c60ef3a..b992cc224 100644 --- a/include/screenint.h +++ b/include/screenint.h @@ -76,6 +76,12 @@ AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr new); extern _X_EXPORT void DetachUnboundGPU(ScreenPtr unbound); +extern _X_EXPORT void +AttachOutputGPU(ScreenPtr pScreen, ScreenPtr new); + +extern _X_EXPORT void +DetachOutputGPU(ScreenPtr output); + typedef struct _ColormapRec *ColormapPtr; #endif /* SCREENINT_H */ -- cgit v1.2.3