File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,14 @@ const char* ffDetectGPUImpl(const FFGPUOptions* options, FFlist* gpus);
4949
5050const char * ffGPUGetVendorString (unsigned vendorId );
5151
52+ typedef struct FFGpuDriverPciBusId
53+ {
54+ uint32_t domain ;
55+ uint32_t bus ;
56+ uint32_t device ;
57+ uint32_t func ;
58+ } FFGpuDriverPciBusId ;
59+
5260#if defined(__linux__ ) || defined(__FreeBSD__ ) || defined(__sun ) || defined(__NetBSD__ ) || defined(__OpenBSD__ ) || defined(__HAIKU__ )
5361void ffGPUFillVendorAndName (uint8_t subclass , uint16_t vendor , uint16_t device , FFGPUResult * gpu );
5462void ffGPUQueryAmdGpuName (uint16_t deviceId , uint8_t revisionId , FFGPUResult * gpu );
@@ -61,13 +69,5 @@ const char* ffDrmDetectXe(FFGPUResult* gpu, int fd);
6169const char * ffDrmDetectAsahi (FFGPUResult * gpu , int fd );
6270#endif // FF_HAVE_DRM
6371
64- typedef struct FFGpuDriverPciBusId
65- {
66- uint32_t domain ;
67- uint32_t bus ;
68- uint32_t device ;
69- uint32_t func ;
70- } FFGpuDriverPciBusId ;
7172const char * ffGPUDetectDriverSpecific (const FFGPUOptions * options , FFGPUResult * gpu , FFGpuDriverPciBusId pciBusId );
72-
7373#endif // defined(XXX)
You can’t perform that action at this time.
0 commit comments