Searched refs:obj_lock (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shrinker.c | 194 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 D | i915_gem_pm.c | 176 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 D | object.c | 36 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 D | client.c | 121 spin_lock_init(&client->obj_lock); in nvkm_client_new()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | client.h | 14 spinlock_t obj_lock; member
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 1071 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 D | msm_debugfs.c | 219 ret = mutex_lock_interruptible(&priv->obj_lock); in msm_gem_show() 225 mutex_unlock(&priv->obj_lock); in msm_gem_show()
|
H A D | msm_drv.h | 136 struct mutex obj_lock; member
|
H A D | msm_drv.c | 236 mutex_init(&priv->obj_lock); in msm_drm_init()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 1078 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 D | i915_drv.h | 134 spinlock_t obj_lock; member
|