mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user