aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-10-25 18:54:41 -0400
committerDave Airlie <airlied@redhat.com>2012-07-19 22:50:55 -0400
commita344a7e7c27776950a70ce4b829a9ac15a212e65 (patch)
treecec3273f7d64c1aff3505c500a17a2a92fd8199d /include/drm
parent4c373790a4d4d667d1ab38b1fe2bbf6a8322e93b (diff)
drm: kill dma queue support
Absolutely unused. All the values are only ever initialized and then used at most in some debug printout functions. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 022db5a768aa..d6b67bb9075f 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -348,7 +348,6 @@ struct drm_buf {
348 struct drm_buf *next; /**< Kernel-only: used for free list */ 348 struct drm_buf *next; /**< Kernel-only: used for free list */
349 __volatile__ int waiting; /**< On kernel DMA queue */ 349 __volatile__ int waiting; /**< On kernel DMA queue */
350 __volatile__ int pending; /**< On hardware DMA queue */ 350 __volatile__ int pending; /**< On hardware DMA queue */
351 wait_queue_head_t dma_wait; /**< Processes waiting */
352 struct drm_file *file_priv; /**< Private of holding file descr */ 351 struct drm_file *file_priv; /**< Private of holding file descr */
353 int context; /**< Kernel queue for this buffer */ 352 int context; /**< Kernel queue for this buffer */
354 int while_locked; /**< Dispatch this buffer while locked */ 353 int while_locked; /**< Dispatch this buffer while locked */
@@ -1102,12 +1101,8 @@ struct drm_device {
1102 1101
1103 /*@} */ 1102 /*@} */
1104 1103
1105 /** \name DMA queues (contexts) */ 1104 /** \name DMA support */
1106 /*@{ */ 1105 /*@{ */
1107 int queue_count; /**< Number of active DMA queues */
1108 int queue_reserved; /**< Number of reserved DMA queues */
1109 int queue_slots; /**< Actual length of queuelist */
1110 struct drm_queue **queuelist; /**< Vector of pointers to DMA queues */
1111 struct drm_device_dma *dma; /**< Optional pointer for DMA support */ 1106 struct drm_device_dma *dma; /**< Optional pointer for DMA support */
1112 /*@} */ 1107 /*@} */
1113 1108
@@ -1534,7 +1529,6 @@ extern int drm_debugfs_cleanup(struct drm_minor *minor);
1534 /* Info file support */ 1529 /* Info file support */
1535extern int drm_name_info(struct seq_file *m, void *data); 1530extern int drm_name_info(struct seq_file *m, void *data);
1536extern int drm_vm_info(struct seq_file *m, void *data); 1531extern int drm_vm_info(struct seq_file *m, void *data);
1537extern int drm_queues_info(struct seq_file *m, void *data);
1538extern int drm_bufs_info(struct seq_file *m, void *data); 1532extern int drm_bufs_info(struct seq_file *m, void *data);
1539extern int drm_vblank_info(struct seq_file *m, void *data); 1533extern int drm_vblank_info(struct seq_file *m, void *data);
1540extern int drm_clients_info(struct seq_file *m, void* data); 1534extern int drm_clients_info(struct seq_file *m, void* data);