mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
util: Provide DRM_DEVICE_GET_PCI_REVISION definition
This allows src/intel/dev/intel_device_info.c to build with libdrm stubbed out. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26265>
This commit is contained in:
parent
5022a26b50
commit
f05688aa32
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue