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:
Enrico Weigelt, metux IT consult 2024-03-07 11:09:34 +01:00 committed by Marge Bot
parent 811977228b
commit a66f99515a
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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 */