aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-07-31 12:54:48 +1000
committerDave Airlie <airlied@redhat.com>2008-07-31 12:54:48 +1000
commit9b8d71b5eb09857b07409731d3de182751f712a2 (patch)
tree452efcf85dffd27d292f480b536b20f52332f389 /linux-core/drmP.h
parentfb5542aaa87aca9b6b312968abe0a6044812cf0e (diff)
TTM: remove API and userspace objects.
This removes all the TTM userspace API and all userspace objects. It also removes the drm_bo_lock.c code
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index e3a08e79..4938881f 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -405,14 +405,6 @@ struct drm_buf_entry {
struct drm_freelist freelist;
};
-
-enum drm_ref_type {
- _DRM_REF_USE = 0,
- _DRM_REF_TYPE1,
- _DRM_NO_REF_TYPES
-};
-
-
/** File private data */
struct drm_file {
int authenticated;
@@ -424,21 +416,11 @@ struct drm_file {
struct drm_minor *minor;
unsigned long lock_count;
- /*
- * The user object hash table is global and resides in the
- * drm_device structure. We protect the lists and hash tables with the
- * device struct_mutex. A bit coarse-grained but probably the best
- * option.
- */
-
- struct list_head refd_objects;
-
/** Mapping of mm object handles to object pointers. */
struct idr object_idr;
/** Lock for synchronization of access to object_idr. */
spinlock_t table_lock;
- struct drm_open_hash refd_object_hash[_DRM_NO_REF_TYPES];
struct file *filp;
void *driver_priv;