xfree86: Export xf86GPUScreens and xf86NumGPUScreens
Drivers may need to loop over the allocated screens during PreInit, for example to consolidate xorg.conf options that apply to a GPU device as a whole. Currently, this works for protocol screens becuase x86Screens is exported, but does not work for GPU screens. Export xf86GPUScreens and xf86NumGPUScreens for consistency with xf86Screens and xf86NumScreens. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
parent
0a005c4fe4
commit
147ed28bbf
|
@ -89,8 +89,8 @@ extern _X_EXPORT const char *xf86VisualNames[];
|
||||||
extern _X_EXPORT int xf86Verbose; /* verbosity level */
|
extern _X_EXPORT int xf86Verbose; /* verbosity level */
|
||||||
extern _X_EXPORT int xf86LogVerbose; /* log file verbosity level */
|
extern _X_EXPORT int xf86LogVerbose; /* log file verbosity level */
|
||||||
|
|
||||||
extern ScrnInfoPtr *xf86GPUScreens; /* List of pointers to ScrnInfoRecs */
|
extern _X_EXPORT ScrnInfoPtr *xf86GPUScreens; /* List of pointers to ScrnInfoRecs */
|
||||||
extern int xf86NumGPUScreens;
|
extern _X_EXPORT int xf86NumGPUScreens;
|
||||||
extern _X_EXPORT int xf86DRMMasterFd; /* Command line argument for DRM master file descriptor */
|
extern _X_EXPORT int xf86DRMMasterFd; /* Command line argument for DRM master file descriptor */
|
||||||
#ifndef DEFAULT_VERBOSE
|
#ifndef DEFAULT_VERBOSE
|
||||||
#define DEFAULT_VERBOSE 0
|
#define DEFAULT_VERBOSE 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user