diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-14 22:42:21 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-14 22:42:21 +1000 |
commit | bc0836e12a9790f1cc83f8bc29bc05043c4bc840 (patch) | |
tree | f587f1cec2fa65ace7cd6fd517e8d18862154fed /linux-core/drm_objects.h | |
parent | dd1f33f83cbbb9917e13f194fadda4f7066ea98a (diff) |
ati_pcigart: fixup properly this version might even work
Diffstat (limited to 'linux-core/drm_objects.h')
-rw-r--r-- | linux-core/drm_objects.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h index 770fbc56..427a9170 100644 --- a/linux-core/drm_objects.h +++ b/linux-core/drm_objects.h @@ -65,7 +65,8 @@ struct drm_user_object { struct drm_hash_item hash; struct list_head list; enum drm_object_type type; - atomic_t refcount; + struct kref refcount; + int shareable; struct drm_file *owner; void (*ref_struct_locked) (struct drm_file *priv, @@ -86,8 +87,9 @@ struct drm_user_object { struct drm_ref_object { struct drm_hash_item hash; struct list_head list; - atomic_t refcount; + struct kref refcount; enum drm_ref_type unref_action; + struct drm_file *owner; }; /** |