summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-10-24 18:45:11 +1000
committerDave Airlie <airlied@linux.ie>2005-10-24 18:45:11 +1000
commita4e62fa031a9681477207b08391c3a5c5c831ce7 (patch)
treee635167a89bc286febe64527f308c74f02630f93 /drivers/char/drm/drmP.h
parent67e1a014fbc0e472ccc55766a63640a767ede3bf (diff)
downloadblackbird-op-linux-a4e62fa031a9681477207b08391c3a5c5c831ce7.tar.gz
blackbird-op-linux-a4e62fa031a9681477207b08391c3a5c5c831ce7.zip
drm: remove unused components of drm structures
These haven't been used in quite a long time, takes 1K buffer out of structures. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 255a21783d10..3dc3c9d79ae4 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -108,7 +108,6 @@
#define DRM_KERNEL_CONTEXT 0 /**< Change drm_resctx if changed */
#define DRM_RESERVED_CONTEXTS 1 /**< Change drm_resctx if changed */
#define DRM_LOOPING_LIMIT 5000000
-#define DRM_BSZ 1024 /**< Buffer size for /dev/drm? output */
#define DRM_TIME_SLICE (HZ/20) /**< Time slice for GLXContexts */
#define DRM_LOCK_SLICE 1 /**< Time slice for lock, in jiffies */
@@ -707,10 +706,6 @@ typedef struct drm_device {
cycles_t ctx_start;
cycles_t lck_start;
- char buf[DRM_BSZ]; /**< Output buffer */
- char *buf_rp; /**< Read pointer */
- char *buf_wp; /**< Write pointer */
- char *buf_end; /**< End pointer */
struct fasync_struct *buf_async;/**< Processes waiting for SIGIO */
wait_queue_head_t buf_readers; /**< Processes waiting to read */
wait_queue_head_t buf_writers; /**< Processes waiting to ctx switch */
OpenPOWER on IntegriCloud