Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12149
b: refs/heads/master
c: a4e62fa
h: refs/heads/master
i:
  12147: 2d7bc2c
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Oct 24, 2005
1 parent ab9d6d4 commit ce8d4f3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67e1a014fbc0e472ccc55766a63640a767ede3bf
refs/heads/master: a4e62fa031a9681477207b08391c3a5c5c831ce7
5 changes: 0 additions & 5 deletions trunk/drivers/char/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/char/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,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);
Expand Down

0 comments on commit ce8d4f3

Please sign in to comment.