Home
last modified time | relevance | path

Searched refs:struct_mutex (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/
Ddrm_context.c65 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
67 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
83 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
86 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
118 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
120 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
184 mutex_lock(&dev->struct_mutex); in drm_legacy_getsareactx()
188 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
201 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
231 mutex_lock(&dev->struct_mutex); in drm_legacy_setsareactx()
[all …]
Ddrm_bufs.c352 mutex_lock(&dev->struct_mutex); in drm_addmap_core()
366 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
371 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
479 mutex_lock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
488 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
499 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
574 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap()
576 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap()
587 mutex_lock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
594 mutex_unlock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
[all …]
Ddrm_irq.c190 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
192 mutex_unlock(&dev->struct_mutex); in drm_legacy_irq_control()
196 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
198 mutex_unlock(&dev->struct_mutex); in drm_legacy_irq_control()
Ddrm_vm.c244 mutex_lock(&dev->struct_mutex); in drm_vm_shm_close()
288 mutex_unlock(&dev->struct_mutex); in drm_vm_shm_close()
410 mutex_lock(&dev->struct_mutex); in drm_vm_open()
412 mutex_unlock(&dev->struct_mutex); in drm_vm_open()
445 mutex_lock(&dev->struct_mutex); in drm_vm_close()
447 mutex_unlock(&dev->struct_mutex); in drm_vm_close()
646 mutex_lock(&dev->struct_mutex); in drm_legacy_mmap()
648 mutex_unlock(&dev->struct_mutex); in drm_legacy_mmap()
Ddrm_legacy_misc.c82 mutex_lock(&dev->struct_mutex); in drm_legacy_dev_reinit()
90 mutex_unlock(&dev->struct_mutex); in drm_legacy_dev_reinit()
Ddrm_lock.c364 mutex_lock(&dev->struct_mutex); in drm_legacy_lock_master_cleanup()
372 mutex_unlock(&dev->struct_mutex); in drm_legacy_lock_master_cleanup()
Ddrm_drv.c600 mutex_destroy(&dev->struct_mutex); in drm_dev_init_release()
645 mutex_init(&dev->struct_mutex); in drm_dev_init()
/linux-6.6.21/include/drm/
Ddrm_device.h159 struct mutex struct_mutex; member
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.c681 mutex_lock(&i915->drm.struct_mutex); in intel_guc_log_set_level()
699 mutex_unlock(&i915->drm.struct_mutex); in intel_guc_log_set_level()
/linux-6.6.21/Documentation/gpu/
Dtodo.rst153 Get rid of dev->struct_mutex from GEM drivers
156 ``dev->struct_mutex`` is the Big DRM Lock from legacy days and infested
162 Core GEM doesn't have a need for ``struct_mutex`` any more since kernel 4.8,
164 entirely ``struct_mutex`` free.
166 For drivers that need ``struct_mutex`` it should be replaced with a driver-
172 the ``msm`` and `i915` drivers use ``struct_mutex``.
Di915.rst346 #. No struct_mutex anywhere in the code
357 of the shrinker vs. struct_mutex saga, and that would be
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_irq.c190 mutex_lock(&dev_priv->drm.struct_mutex); in ivb_parity_work()
248 mutex_unlock(&dev_priv->drm.struct_mutex); in ivb_parity_work()