|
@@ -273,12 +273,6 @@ static inline void i915_gem_object_unlock(struct drm_i915_gem_object *obj)
|
|
reservation_object_unlock(obj->resv);
|
|
reservation_object_unlock(obj->resv);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline bool
|
|
|
|
-i915_gem_object_is_dead(const struct drm_i915_gem_object *obj)
|
|
|
|
-{
|
|
|
|
- return kref_read(&obj->base.refcount) == 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline bool
|
|
static inline bool
|
|
i915_gem_object_has_struct_page(const struct drm_i915_gem_object *obj)
|
|
i915_gem_object_has_struct_page(const struct drm_i915_gem_object *obj)
|
|
{
|
|
{
|