summaryrefslogtreecommitdiff
path: root/include/screenint.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-24 15:39:05 +0100
committerDave Airlie <airlied@redhat.com>2012-07-07 10:37:10 +0100
commit382dd45bb88fa92764bf0ecd655cb9890eb84960 (patch)
tree85b930bba263dd8f4fd174ec09df3612be978965 /include/screenint.h
parent05d2472cd242293a5fa205efff5734a3380072b4 (diff)
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 <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/screenint.h')
-rw-r--r--include/screenint.h6
1 files changed, 6 insertions, 0 deletions
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 */