Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/sis/
Dsis_mm.c71 mutex_lock(&dev->struct_mutex); in sis_fb_init()
79 mutex_unlock(&dev->struct_mutex); in sis_fb_init()
95 mutex_lock(&dev->struct_mutex); in sis_drm_alloc()
101 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
140 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
154 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
172 mutex_lock(&dev->struct_mutex); in sis_drm_free()
175 mutex_unlock(&dev->struct_mutex); in sis_drm_free()
188 mutex_unlock(&dev->struct_mutex); in sis_drm_free()
207 mutex_lock(&dev->struct_mutex); in sis_ioctl_agp_init()
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_context.c66 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
68 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
84 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
87 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
121 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
123 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
189 mutex_lock(&dev->struct_mutex); in drm_legacy_getsareactx()
193 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
206 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
237 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()
481 mutex_lock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
490 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
501 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
577 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap()
579 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap()
590 mutex_lock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
597 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.c577 mutex_destroy(&dev->struct_mutex); in drm_dev_init_release()
613 mutex_init(&dev->struct_mutex); in drm_dev_init()
/Linux-v6.1/drivers/gpu/drm/via/
Dvia_dri1.c2579 mutex_lock(&dev->struct_mutex); in via_agp_init()
2584 mutex_unlock(&dev->struct_mutex); in via_agp_init()
2595 mutex_lock(&dev->struct_mutex); in via_fb_init()
2601 mutex_unlock(&dev->struct_mutex); in via_fb_init()
2632 mutex_lock(&dev->struct_mutex); in via_lastclose()
2641 mutex_unlock(&dev->struct_mutex); in via_lastclose()
2658 mutex_lock(&dev->struct_mutex); in via_mem_alloc()
2661 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
2691 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
2704 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
[all …]
/Linux-v6.1/include/drm/
Ddrm_device.h143 struct mutex struct_mutex; member
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
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-v6.1/Documentation/gpu/
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``.
Di915.rst346 #. No struct_mutex anywhere in the code
357 of the shrinker vs. struct_mutex saga, and that would be
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_irq.c1054 mutex_lock(&dev_priv->drm.struct_mutex); in ivb_parity_work()
1111 mutex_unlock(&dev_priv->drm.struct_mutex); in ivb_parity_work()