summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drmP.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-09-06 02:54:53 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-09-06 02:54:53 +0000
commit0a0551ab33353de446e66f36295eda493f3ce4ad (patch)
tree7ca4ef91d145a32b44344cf0899f913e8750bf0a /sys/dev/pci/drm/drmP.h
parentb3e0f5fb6df7bc3ae331ed3e101c3b25d5d5ebff (diff)
Kill some more unused struct fields and the cases for them.
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r--sys/dev/pci/drm/drmP.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 025b5d425cf..5115722a487 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -319,24 +319,11 @@ struct drm_magic_entry {
typedef struct drm_buf {
int idx; /* Index into master buflist */
int total; /* Buffer size */
- int order; /* log-base-2(total) */
int used; /* Amount of buffer in use (for DMA) */
unsigned long offset; /* Byte offset (used internally) */
- void *address; /* Address of buffer */
unsigned long bus_address; /* Bus address of buffer */
__volatile__ int pending; /* On hardware DMA queue */
struct drm_file *file_priv; /* Unique identifier of holding process */
- int context; /* Kernel queue for this buffer */
- enum {
- DRM_LIST_NONE = 0,
- DRM_LIST_FREE = 1,
- DRM_LIST_WAIT = 2,
- DRM_LIST_PEND = 3,
- DRM_LIST_PRIO = 4,
- DRM_LIST_RECLAIM = 5
- } list; /* Which list we're on */
-
- int dev_priv_size; /* Size of buffer private stoarge */
void *dev_private; /* Per-buffer private storage */
} drm_buf_t;