Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shrinker.c194 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrink()
215 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrink()
239 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrink()
244 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrink()
368 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_shrinker_oom()
375 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_shrinker_oom()
498 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_object_make_unshrinkable()
505 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_object_make_unshrinkable()
520 spin_lock_irqsave(&i915->mm.obj_lock, flags); in ___i915_gem_object_make_shrinkable()
530 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in ___i915_gem_object_make_shrinkable()
H A Di915_gem_pm.c176 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_suspend_late()
184 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_suspend_late()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dobject.c36 spin_lock_irqsave(&client->obj_lock, flags); in nvkm_object_search()
46 spin_unlock_irqrestore(&client->obj_lock, flags); in nvkm_object_search()
50 spin_unlock_irqrestore(&client->obj_lock, flags); in nvkm_object_search()
67 spin_lock_irqsave(&object->client->obj_lock, flags); in nvkm_object_remove()
70 spin_unlock_irqrestore(&object->client->obj_lock, flags); in nvkm_object_remove()
80 spin_lock_irqsave(&object->client->obj_lock, flags); in nvkm_object_insert()
90 spin_unlock_irqrestore(&object->client->obj_lock, flags); in nvkm_object_insert()
97 spin_unlock_irqrestore(&object->client->obj_lock, flags); in nvkm_object_insert()
H A Dclient.c121 spin_lock_init(&client->obj_lock); in nvkm_client_new()
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dclient.h14 spinlock_t obj_lock; member
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem.c1071 mutex_lock(&priv->obj_lock); in msm_gem_free_object()
1073 mutex_unlock(&priv->obj_lock); in msm_gem_free_object()
1276 mutex_lock(&priv->obj_lock); in msm_gem_new()
1278 mutex_unlock(&priv->obj_lock); in msm_gem_new()
1336 mutex_lock(&priv->obj_lock); in msm_gem_import()
1338 mutex_unlock(&priv->obj_lock); in msm_gem_import()
H A Dmsm_debugfs.c219 ret = mutex_lock_interruptible(&priv->obj_lock); in msm_gem_show()
225 mutex_unlock(&priv->obj_lock); in msm_gem_show()
H A Dmsm_drv.h136 struct mutex obj_lock; member
H A Dmsm_drv.c236 mutex_init(&priv->obj_lock); in msm_drm_init()
/linux/drivers/gpu/drm/i915/
H A Di915_gem.c1078 spin_lock_irqsave(&i915->mm.obj_lock, flags); in i915_gem_madvise_ioctl()
1089 spin_unlock_irqrestore(&i915->mm.obj_lock, flags); in i915_gem_madvise_ioctl()
1288 spin_lock_init(&i915->mm.obj_lock); in i915_gem_init__mm()
H A Di915_drv.h134 spinlock_t obj_lock; member