summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-10-23 04:07:50 +0000
committerDave Airlie <airlied@linux.ie>2005-10-23 04:07:50 +0000
commitbcbf5ff797f061e84223556bdcf5f6a045516355 (patch)
tree2a4cefc8482084af7ac0c40fd71e8fed79e4f8cf /linux-core
parentb63b771285a91e85c2dc7daf77191c423fb4d2a5 (diff)
we don't use this stuff anymore .. remove 1k buffer from driver ..
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drmP.h5
-rw-r--r--linux-core/drm_fops.c3
2 files changed, 0 insertions, 8 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index bb1ed2aa..28367139 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -121,7 +121,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 */
@@ -713,10 +712,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 */
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 60da7ae9..c79372d3 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -99,9 +99,6 @@ static int drm_setup(drm_device_t * dev)
dev->ctx_start = 0;
dev->lck_start = 0;
- dev->buf_rp = dev->buf;
- dev->buf_wp = dev->buf;
- dev->buf_end = dev->buf + DRM_BSZ;
dev->buf_async = NULL;
init_waitqueue_head(&dev->buf_readers);
init_waitqueue_head(&dev->buf_writers);