mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-12 02:40:35 +02:00
radeon: add defines for future bits
This commit is contained in:
parent
1e77f7b55c
commit
ec0939b013
2 changed files with 8 additions and 4 deletions
|
|
@ -13,6 +13,14 @@
|
|||
#define RADEON_GEM_DOMAIN_GTT 0x2 // GTT or cache flushed
|
||||
#define RADEON_GEM_DOMAIN_VRAM 0x4 // VRAM domain
|
||||
|
||||
#ifndef DRM_RADEON_GEM_INFO
|
||||
#define DRM_RADEON_GEM_INFO 0x1c
|
||||
#endif
|
||||
|
||||
#ifndef RADEON_PARAM_DEVICE_ID
|
||||
#define RADEON_PARAM_DEVICE_ID 17
|
||||
#endif
|
||||
|
||||
/* to be used to build locally in mesa with no libdrm bits */
|
||||
#include "../radeon/radeon_bo_drm.h"
|
||||
#include "../radeon/radeon_cs_drm.h"
|
||||
|
|
|
|||
|
|
@ -1016,10 +1016,6 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
|
|||
return screen;
|
||||
}
|
||||
|
||||
#ifndef RADEON_PARAM_DEVICE_ID
|
||||
#define RADEON_PARAM_DEVICE_ID 17
|
||||
#endif
|
||||
|
||||
static radeonScreenPtr
|
||||
radeonCreateScreen2(__DRIscreenPrivate *sPriv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue