randr: unexport and document RRProviderAutoConfigGpuScreen()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 16:36:40 +02:00
parent 9bbaf79703
commit 1e7752f10d
3 changed files with 9 additions and 4 deletions

View File

@ -59,6 +59,7 @@
#include "os/cmdline.h" #include "os/cmdline.h"
#include "os/ddx_priv.h" #include "os/ddx_priv.h"
#include "os/osdep.h" #include "os/osdep.h"
#include "randr/randrstr_priv.h"
#include "servermd.h" #include "servermd.h"
#include "windowstr.h" #include "windowstr.h"
@ -82,7 +83,6 @@
#include "xf86InPriv.h" #include "xf86InPriv.h"
#include "xf86Crtc.h" #include "xf86Crtc.h"
#include "picturestr.h" #include "picturestr.h"
#include "randrstr.h"
#include "xf86Bus.h" #include "xf86Bus.h"
#include "globals.h" #include "globals.h"
#include "xserver-properties.h" #include "xserver-properties.h"

View File

@ -675,9 +675,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property,
/* rrprovider.c */ /* rrprovider.c */
#define PRIME_SYNC_PROP "PRIME Synchronization" #define PRIME_SYNC_PROP "PRIME Synchronization"
extern _X_EXPORT void
RRProviderAutoConfigGpuScreen(ScreenPtr pScreen, ScreenPtr primaryScreen);
extern _X_EXPORT RRPropertyValuePtr extern _X_EXPORT RRPropertyValuePtr
RRGetProviderProperty(RRProviderPtr provider, Atom property, Bool pending); RRGetProviderProperty(RRProviderPtr provider, Atom property, Bool pending);

View File

@ -425,4 +425,12 @@ void RRProviderDestroy (RRProviderPtr provider);
*/ */
void RRDeliverProviderEvent(ClientPtr pClient, WindowPtr pWin, RRProviderPtr provider); void RRDeliverProviderEvent(ClientPtr pClient, WindowPtr pWin, RRProviderPtr provider);
/*
* Auto configure a GPU screen
*
* @param pScreen the GPU screen to configure
* @param primaryScreen the associated primary screen
*/
void RRProviderAutoConfigGpuScreen(ScreenPtr pScreen, ScreenPtr primaryScreen);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */