Skip to content

Commit

Permalink
drm: drop unused "struct drm_queue"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Herrmann authored and Dave Airlie committed Aug 1, 2014
1 parent b008c0f commit 344f4b0
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 344f4b0

Please sign in to comment.