[PATCH 24/26] async-pages
Chris Wilson
chris at chris-wilson.co.uk
Mon Jun 3 14:46:52 UTC 2019
---
drivers/gpu/drm/i915/gem/i915_gem_object.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_object.h b/drivers/gpu/drm/i915/gem/i915_gem_object.h
index 0c27dd5bb8a2..194e4fb6a259 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_object.h
+++ b/drivers/gpu/drm/i915/gem/i915_gem_object.h
@@ -276,9 +276,7 @@ i915_gem_object_has_pinned_pages(struct drm_i915_gem_object *obj)
static inline void
__i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj)
{
- GEM_BUG_ON(!i915_gem_object_has_pages(obj));
GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj));
-
atomic_dec(&obj->mm.pages_pin_count);
}
--
2.20.1
More information about the Intel-gfx-trybot
mailing list