aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-08 09:41:26 -0400
committerDave Airlie <airlied@redhat.com>2013-08-18 20:05:30 -0400
commitfac3eaffb1139156099b6111337525d47e65bca6 (patch)
tree01c74646a4dea45a6ba37b7f58a10b352890e90d /include/drm/drmP.h
parent74867e3d53e41afe2a093196850167542fa508d2 (diff)
drm: remove a bunch of unused #defines from drmP.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 0dc64fca3ebb..6a0918e7db65 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -163,13 +163,7 @@ int drm_err(const char *func, const char *format, ...);
163#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */ 163#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */
164#define DRM_KERNEL_CONTEXT 0 /**< Change drm_resctx if changed */ 164#define DRM_KERNEL_CONTEXT 0 /**< Change drm_resctx if changed */
165#define DRM_RESERVED_CONTEXTS 1 /**< Change drm_resctx if changed */ 165#define DRM_RESERVED_CONTEXTS 1 /**< Change drm_resctx if changed */
166#define DRM_LOOPING_LIMIT 5000000
167#define DRM_TIME_SLICE (HZ/20) /**< Time slice for GLXContexts */
168#define DRM_LOCK_SLICE 1 /**< Time slice for lock, in jiffies */
169 166
170#define DRM_FLAG_DEBUG 0x01
171
172#define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8)
173#define DRM_MAP_HASH_OFFSET 0x10000000 167#define DRM_MAP_HASH_OFFSET 0x10000000
174 168
175/*@}*/ 169/*@}*/
@@ -258,9 +252,6 @@ int drm_err(const char *func, const char *format, ...);
258 252
259#define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) 253#define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x)
260 254
261#define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1))
262#define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x))
263
264#define DRM_IF_VERSION(maj, min) (maj << 16 | min) 255#define DRM_IF_VERSION(maj, min) (maj << 16 | min)
265 256
266/** 257/**