radeon: add defines for future bits

This commit is contained in:
Dave Airlie 2009-02-12 14:41:16 +10:00
parent 1e77f7b55c
commit ec0939b013
2 changed files with 8 additions and 4 deletions

View file

@ -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"

View file

@ -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)
{