Home
last modified time | relevance | path

Searched refs:obj_lock (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c190 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrink()
211 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrink()
235 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrink()
240 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrink()
366 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrinker_oom()
373 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrinker_oom()
489 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_object_make_unshrinkable()
496 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_object_make_unshrinkable()
511 spin_lock_irqsave(&i915->mm.obj_lock, flags); in ___i915_gem_object_make_shrinkable()
521 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in ___i915_gem_object_make_shrinkable()
Di915_gem_pm.c159 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_suspend_late()
167 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_suspend_late()
Di915_gem_pages.c82 spin_lock_irqsave(&i915->mm.obj_lock, flags); in __i915_gem_object_set_pages()
94 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in __i915_gem_object_set_pages()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gem.c983 mutex_lock(&priv->obj_lock); in msm_gem_free_object()
985 mutex_unlock(&priv->obj_lock); in msm_gem_free_object()
1170 mutex_lock(&priv->obj_lock); in msm_gem_new()
1172 mutex_unlock(&priv->obj_lock); in msm_gem_new()
1226 mutex_lock(&priv->obj_lock); in msm_gem_import()
1228 mutex_unlock(&priv->obj_lock); in msm_gem_import()
Dmsm_debugfs.c218 ret = mutex_lock_interruptible(&priv->obj_lock); in msm_gem_show()
224 mutex_unlock(&priv->obj_lock); in msm_gem_show()
Dmsm_drv.h143 struct mutex obj_lock; member
Dmsm_drv.c426 mutex_init(&priv->obj_lock); in msm_drm_init()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gem.c1065 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_madvise_ioctl()
1076 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_madvise_ioctl()
1259 spin_lock_init(&i915->mm.obj_lock); in i915_gem_init__mm()
Di915_drv.h122 spinlock_t obj_lock; member