Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/
A 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()
201 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
231 mutex_lock(&dev->struct_mutex); in drm_legacy_setsareactx()
238 mutex_unlock(&dev->struct_mutex); in drm_legacy_setsareactx()
[all …]
A Ddrm_bufs.c352 mutex_lock(&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()
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()
631 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
780 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
930 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
[all …]
A 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()
A 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()
A 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()
A 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()
A 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.3-rc2/include/drm/
A Ddrm_device.h159 struct mutex struct_mutex; member
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c679 mutex_lock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
697 mutex_unlock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
/linux-6.3-rc2/Documentation/gpu/
A Dtodo.rst149 Get rid of dev->struct_mutex from GEM drivers
152 ``dev->struct_mutex`` is the Big DRM Lock from legacy days and infested
158 Core GEM doesn't have a need for ``struct_mutex`` any more since kernel 4.8,
160 entirely ``struct_mutex`` free.
162 For drivers that need ``struct_mutex`` it should be replaced with a driver-
168 the ``msm`` and `i915` drivers use ``struct_mutex``.
A Di915.rst346 #. No struct_mutex anywhere in the code
357 of the shrinker vs. struct_mutex saga, and that would be
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_irq.c640 mutex_lock(&dev_priv->drm.struct_mutex); in ivb_parity_work()
698 mutex_unlock(&dev_priv->drm.struct_mutex); in ivb_parity_work()

Completed in 24 milliseconds