Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/via/
A Dvia_mm.c49 mutex_lock(&dev->struct_mutex); in via_agp_init()
54 mutex_unlock(&dev->struct_mutex); in via_agp_init()
65 mutex_lock(&dev->struct_mutex); in via_fb_init()
71 mutex_unlock(&dev->struct_mutex); in via_fb_init()
102 mutex_lock(&dev->struct_mutex); in via_lastclose()
111 mutex_unlock(&dev->struct_mutex); in via_lastclose()
128 mutex_lock(&dev->struct_mutex); in via_mem_alloc()
161 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
174 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
190 mutex_lock(&dev->struct_mutex); in via_mem_free()
[all …]
/linux/drivers/gpu/drm/sis/
A 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()
188 mutex_unlock(&dev->struct_mutex); in sis_drm_free()
207 mutex_lock(&dev->struct_mutex); in sis_ioctl_agp_init()
301 mutex_lock(&dev->struct_mutex); in sis_lastclose()
[all …]
/linux/drivers/gpu/drm/
A 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()
206 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
237 mutex_lock(&dev->struct_mutex); in drm_legacy_setsareactx()
244 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()
481 mutex_lock(&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()
635 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
784 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
934 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
[all …]
A Ddrm_irq.c191 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
193 mutex_unlock(&dev->struct_mutex); in drm_legacy_irq_control()
197 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
199 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.c576 mutex_destroy(&dev->struct_mutex); in drm_dev_init_release()
611 mutex_init(&dev->struct_mutex); in drm_dev_init()
/linux/drivers/gpu/drm/msm/
A Dmsm_debugfs.c32 ret = mutex_lock_interruptible(&show_priv->dev->struct_mutex); in msm_gpu_show()
39 mutex_unlock(&show_priv->dev->struct_mutex); in msm_gpu_show()
51 mutex_lock(&show_priv->dev->struct_mutex); in msm_gpu_release()
53 mutex_unlock(&show_priv->dev->struct_mutex); in msm_gpu_release()
75 ret = mutex_lock_interruptible(&dev->struct_mutex); in msm_gpu_open()
84 mutex_unlock(&dev->struct_mutex); in msm_gpu_open()
194 ret = mutex_lock_interruptible(&dev->struct_mutex); in show_locked()
200 mutex_unlock(&dev->struct_mutex); in show_locked()
A Dmsm_fbdev.c84 mutex_lock(&dev->struct_mutex); in msm_fbdev_create()
127 mutex_unlock(&dev->struct_mutex); in msm_fbdev_create()
132 mutex_unlock(&dev->struct_mutex); in msm_fbdev_create()
A Dmsm_gpu.h540 mutex_lock(&gpu->dev->struct_mutex); in msm_gpu_crashstate_get()
547 mutex_unlock(&gpu->dev->struct_mutex); in msm_gpu_crashstate_get()
554 mutex_lock(&gpu->dev->struct_mutex); in msm_gpu_crashstate_put()
561 mutex_unlock(&gpu->dev->struct_mutex); in msm_gpu_crashstate_put()
A Dmsm_ringbuffer.c24 mutex_lock(&gpu->dev->struct_mutex); in msm_job_run()
28 mutex_unlock(&gpu->dev->struct_mutex); in msm_job_run()
A Dmsm_rd.c184 mutex_lock(&dev->struct_mutex); in rd_open()
203 mutex_unlock(&dev->struct_mutex); in rd_open()
358 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_rd_dump_submit()
A Dmsm_perf.c158 mutex_lock(&dev->struct_mutex); in perf_open()
174 mutex_unlock(&dev->struct_mutex); in perf_open()
A Dmsm_gpu.c153 WARN_ON(!mutex_is_locked(&gpu->dev->struct_mutex)); in msm_gpu_hw_init()
364 mutex_lock(&dev->struct_mutex); in recover_worker()
445 mutex_unlock(&dev->struct_mutex); in recover_worker()
458 mutex_lock(&dev->struct_mutex); in fault_worker()
493 mutex_unlock(&dev->struct_mutex); in fault_worker()
736 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_gpu_submit()
A Dmsm_drv.c758 mutex_lock(&dev->struct_mutex); in msm_postclose()
761 mutex_unlock(&dev->struct_mutex); in msm_postclose()
/linux/drivers/gpu/drm/msm/adreno/
A Da5xx_debugfs.c110 mutex_lock(&dev->struct_mutex); in reset_set()
136 mutex_unlock(&dev->struct_mutex); in reset_set()
A Dadreno_device.c411 mutex_lock(&dev->struct_mutex); in adreno_load_gpu()
413 mutex_unlock(&dev->struct_mutex); in adreno_load_gpu()
/linux/include/drm/
A Ddrm_device.h146 struct mutex struct_mutex; member
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c518 mutex_lock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
536 mutex_unlock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
/linux/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/drivers/gpu/drm/i915/
A Di915_irq.c1053 mutex_lock(&dev_priv->drm.struct_mutex); in ivb_parity_work()
1110 mutex_unlock(&dev_priv->drm.struct_mutex); in ivb_parity_work()

Completed in 89 milliseconds