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:
parent
811977228b
commit
a66f99515a
|
@ -20,9 +20,6 @@ void RemoveGPUScreen(ScreenPtr pScreen);
|
||||||
void AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
void AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||||
void DetachUnboundGPU(ScreenPtr unbound);
|
void DetachUnboundGPU(ScreenPtr unbound);
|
||||||
|
|
||||||
void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
|
||||||
void DetachOutputGPU(ScreenPtr output);
|
|
||||||
|
|
||||||
void AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
void AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||||
void DetachOffloadGPU(ScreenPtr slave);
|
void DetachOffloadGPU(ScreenPtr slave);
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,10 @@ typedef struct _PixmapFormat *PixmapFormatPtr;
|
||||||
typedef struct _Visual *VisualPtr;
|
typedef struct _Visual *VisualPtr;
|
||||||
typedef struct _Depth *DepthPtr;
|
typedef struct _Depth *DepthPtr;
|
||||||
typedef struct _Screen *ScreenPtr;
|
typedef struct _Screen *ScreenPtr;
|
||||||
|
|
||||||
|
extern _X_EXPORT void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen);
|
||||||
|
extern _X_EXPORT void DetachOutputGPU(ScreenPtr output);
|
||||||
|
|
||||||
typedef struct _ColormapRec *ColormapPtr;
|
typedef struct _ColormapRec *ColormapPtr;
|
||||||
|
|
||||||
#endif /* SCREENINT_H */
|
#endif /* SCREENINT_H */
|
||||||
|
|
Loading…
Reference in New Issue