summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-23 19:26:37 +0400
committerDave Airlie <airlied@redhat.com>2014-08-02 00:43:27 +0400
commit344f4b0f4c14a12206b05aa033f3174cefbd282f (patch)
tree55b790361eceb61d50f78cc4dd1f55232508e8a4
parentb008c0fc95140ca7aad65861a77f0338ce31e8b5 (diff)
downloadlinux-344f4b0f4c14a12206b05aa033f3174cefbd282f.tar.xz
drm: drop unused "struct drm_queue"
This object is unused, drop it. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--include/drm/drmP.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 335b7b8f5e7d..d3d9be6b83ef 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -430,23 +430,6 @@ struct drm_file {
struct drm_prime_file_private prime;
};
-/** Wait queue */
-struct drm_queue {
- atomic_t use_count; /**< Outstanding uses (+1) */
- atomic_t finalization; /**< Finalization in progress */
- atomic_t block_count; /**< Count of processes waiting */
- atomic_t block_read; /**< Queue blocked for reads */
- wait_queue_head_t read_queue; /**< Processes waiting on block_read */
- atomic_t block_write; /**< Queue blocked for writes */
- wait_queue_head_t write_queue; /**< Processes waiting on block_write */
- atomic_t total_queued; /**< Total queued statistic */
- atomic_t total_flushed; /**< Total flushes statistic */
- atomic_t total_locks; /**< Total locks statistics */
- enum drm_ctx_flags flags; /**< Context preserving and 2D-only */
- struct drm_waitlist waitlist; /**< Pending buffers */
- wait_queue_head_t flush_queue; /**< Processes waiting until flush */
-};
-
/**
* Lock data.
*/