diff --git a/src/util/libdrm.h b/src/util/libdrm.h index 045d7243078..3ba9c396300 100644 --- a/src/util/libdrm.h +++ b/src/util/libdrm.h @@ -91,6 +91,7 @@ typedef struct _drmDevice { /* ... */ } drmDevice, *drmDevicePtr; +#define DRM_DEVICE_GET_PCI_REVISION (1 << 0) static inline int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device) {