mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
Revert "dix: unexport AttachOutputGPU() and DetachOutputGPU()"
This reverts commit 1277bb7143.
Nvidia driver needs them for PRIME handling.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1371>
This commit is contained in:
committed by
Marge Bot
parent
811977228b
commit
a66f99515a
@@ -20,9 +20,6 @@ void RemoveGPUScreen(ScreenPtr pScreen);
|
||||
void AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||
void DetachUnboundGPU(ScreenPtr unbound);
|
||||
|
||||
void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||
void DetachOutputGPU(ScreenPtr output);
|
||||
|
||||
void AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||
void DetachOffloadGPU(ScreenPtr slave);
|
||||
|
||||
|
||||
@@ -53,6 +53,10 @@ typedef struct _PixmapFormat *PixmapFormatPtr;
|
||||
typedef struct _Visual *VisualPtr;
|
||||
typedef struct _Depth *DepthPtr;
|
||||
typedef struct _Screen *ScreenPtr;
|
||||
|
||||
extern _X_EXPORT void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||
extern _X_EXPORT void DetachOutputGPU(ScreenPtr output);
|
||||
|
||||
typedef struct _ColormapRec *ColormapPtr;
|
||||
|
||||
#endif /* SCREENINT_H */
|
||||
|
||||
Reference in New Issue
Block a user