aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 05:35:08 -0500
committerDave Airlie <airlied@redhat.com>2013-12-17 20:41:55 -0500
commit43d1337cbe087ed24ffceadfd5ac311b6a0e4bfa (patch)
treebc6daab9923b7b1f174d2ac80eaa70067537d1be /include/drm
parentb8673b648ad5443e00fa07a4104d0d64855d2ca0 (diff)
drm: rip out dev->ioctl_count tracking
Now dev->ioctl_count tries to prevent the device from disappearing if it's still in use. And if we'd actually need this code it would be hopelessly racy and broken. But luckily the vfs already takes care of this. So we can just rip it out. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index c34a2cc2d9b6..0670857b1420 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1110,7 +1110,6 @@ struct drm_device {
1110 /** \name Usage Counters */ 1110 /** \name Usage Counters */
1111 /*@{ */ 1111 /*@{ */
1112 int open_count; /**< Outstanding files open */ 1112 int open_count; /**< Outstanding files open */
1113 atomic_t ioctl_count; /**< Outstanding IOCTLs pending */
1114 atomic_t vma_count; /**< Outstanding vma areas open */ 1113 atomic_t vma_count; /**< Outstanding vma areas open */
1115 int buf_use; /**< Buffers in use -- cannot alloc */ 1114 int buf_use; /**< Buffers in use -- cannot alloc */
1116 atomic_t buf_alloc; /**< Buffer allocation in progress */ 1115 atomic_t buf_alloc; /**< Buffer allocation in progress */