[PATCH 16/25] drm: remove a bunch of unused #defines from drmP.h
Signed-off-by: Daniel Vetter --- include/drm/drmP.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index f526a7a9..914055e 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -165,13 +165,7 @@ int drm_err(const char *func, const char *format, ...); #define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */ #define DRM_KERNEL_CONTEXT0 /**< Change drm_resctx if changed */ #define DRM_RESERVED_CONTEXTS 1 /**< Change drm_resctx if changed */ -#define DRM_LOOPING_LIMIT 500 -#define DRM_TIME_SLICE (HZ/20) /**< Time slice for GLXContexts */ -#define DRM_LOCK_SLICE 1 /**< Time slice for lock, in jiffies */ -#define DRM_FLAG_DEBUG 0x01 - -#define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8) #define DRM_MAP_HASH_OFFSET 0x1000 /*@}*/ @@ -260,9 +254,6 @@ int drm_err(const char *func, const char *format, ...); #define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) -#define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) -#define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) - #define DRM_IF_VERSION(maj, min) (maj << 16 | min) /** -- 1.8.3.2
[PATCH 16/25] drm: remove a bunch of unused #defines from drmP.h
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- include/drm/drmP.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index f526a7a9..914055e 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -165,13 +165,7 @@ int drm_err(const char *func, const char *format, ...); #define DRM_MAGIC_HASH_ORDER 4 /** Size of key hash table. Must be power of 2. */ #define DRM_KERNEL_CONTEXT0 /** Change drm_resctx if changed */ #define DRM_RESERVED_CONTEXTS 1 /** Change drm_resctx if changed */ -#define DRM_LOOPING_LIMIT 500 -#define DRM_TIME_SLICE (HZ/20) /** Time slice for GLXContexts */ -#define DRM_LOCK_SLICE 1 /** Time slice for lock, in jiffies */ -#define DRM_FLAG_DEBUG 0x01 - -#define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8) #define DRM_MAP_HASH_OFFSET 0x1000 /*@}*/ @@ -260,9 +254,6 @@ int drm_err(const char *func, const char *format, ...); #define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) -#define DRM_LEFTCOUNT(x) (((x)-rp + (x)-count - (x)-wp) % ((x)-count + 1)) -#define DRM_BUFCOUNT(x) ((x)-count - DRM_LEFTCOUNT(x)) - #define DRM_IF_VERSION(maj, min) (maj 16 | min) /** -- 1.8.3.2 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel