aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index ebbbfa8a..12e093e3 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -937,6 +937,7 @@ struct drm_device {
/*@{ */
spinlock_t object_name_lock;
struct idr object_name_idr;
+ atomic_t object_count;
/*@} */
};
@@ -1320,6 +1321,9 @@ static inline struct drm_memrange *drm_get_mm(struct drm_memrange_node *block)
return block->mm;
}
+int
+drm_gem_init (struct drm_device *dev);
+
void
drm_gem_object_free (struct kref *kref);