Home
last modified time | relevance | path

Searched refs:mm_lock (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/v3d/
Dv3d_bo.c128 spin_lock(&v3d->mm_lock); in v3d_bo_create_struct()
132 spin_unlock(&v3d->mm_lock); in v3d_bo_create_struct()
175 spin_lock(&v3d->mm_lock); in v3d_bo_create()
177 spin_unlock(&v3d->mm_lock); in v3d_bo_create()
205 spin_lock(&v3d->mm_lock); in v3d_free_object()
207 spin_unlock(&v3d->mm_lock); in v3d_free_object()
Dv3d_drv.h65 spinlock_t mm_lock; member
Dv3d_gem.c615 spin_lock_init(&v3d->mm_lock); in v3d_gem_init()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c33 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
37 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
60 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
62 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
74 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_unmap()
78 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_unmap()
Drockchip_drm_drv.h56 struct mutex mm_lock; member
Drockchip_drm_drv.c100 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_userptr.c225 mutex_lock(&mm->i915->mm_lock); in i915_mmu_notifier_find()
240 mutex_unlock(&mm->i915->mm_lock); in i915_mmu_notifier_find()
352 mutex_lock(&dev_priv->mm_lock); in i915_gem_userptr_init__mm_struct()
377 mutex_unlock(&dev_priv->mm_lock); in i915_gem_userptr_init__mm_struct()
397 mutex_unlock(&mm->i915->mm_lock); in __i915_mm_struct_free()
411 &to_i915(obj->base.dev)->mm_lock); in i915_gem_userptr_release__mm_struct()
845 mutex_init(&dev_priv->mm_lock); in i915_gem_init_userptr()
/Linux-v4.19/drivers/gpu/drm/tegra/
Dgem.c126 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map()
146 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
153 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
163 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
166 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
Ddrm.c119 mutex_init(&tegra->mm_lock); in tegra_drm_load()
198 mutex_destroy(&tegra->mm_lock); in tegra_drm_load()
227 mutex_destroy(&tegra->mm_lock); in tegra_drm_unload()
979 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova()
981 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova()
Ddrm.h44 struct mutex mm_lock; member
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_plane.c182 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
184 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
489 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_mode_set()
493 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_mode_set()
Dvc4_crtc.c651 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_atomic_check()
654 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_atomic_check()
988 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
990 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
Dvc4_hvs.c190 spin_lock_init(&hvs->mm_lock); in vc4_hvs_bind()
Dvc4_drv.h305 spinlock_t mm_lock; member
/Linux-v4.19/drivers/video/fbdev/
Dplatinumfb.c143 mutex_lock(&info->mm_lock); in platinumfb_set_par()
145 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
Dmx3fb.c1350 mutex_lock(&fbi->mm_lock); in mx3fb_map_video_memory()
1354 mutex_unlock(&fbi->mm_lock); in mx3fb_map_video_memory()
1384 mutex_lock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
1387 mutex_unlock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
Dfsl-diu-fb.c883 mutex_lock(&info->mm_lock); in map_video_memory()
887 mutex_unlock(&info->mm_lock); in map_video_memory()
898 mutex_lock(&info->mm_lock); in unmap_video_memory()
902 mutex_unlock(&info->mm_lock); in unmap_video_memory()
Dsm501fb.c490 mutex_lock(&info->mm_lock); in sm501fb_set_par_common()
493 mutex_unlock(&info->mm_lock); in sm501fb_set_par_common()
1908 mutex_init(&info->fb[head]->mm_lock); in sm501fb_start_one()
Dw100fb.c528 mutex_lock(&info->mm_lock); in w100fb_set_par()
536 mutex_unlock(&info->mm_lock); in w100fb_set_par()
/Linux-v4.19/drivers/video/fbdev/core/
Dfbmem.c1387 mutex_lock(&info->mm_lock); in fb_mmap()
1397 mutex_unlock(&info->mm_lock); in fb_mmap()
1410 mutex_unlock(&info->mm_lock); in fb_mmap()
1418 mutex_unlock(&info->mm_lock); in fb_mmap()
1649 mutex_init(&fb_info->mm_lock); in do_register_framebuffer()
/Linux-v4.19/drivers/video/fbdev/omap/
Domapfb_main.c395 mutex_lock(&fbi->mm_lock); in set_fb_fix()
398 mutex_unlock(&fbi->mm_lock); in set_fb_fix()
887 mutex_lock(&fbi->mm_lock); in omapfb_setup_mem()
890 mutex_unlock(&fbi->mm_lock); in omapfb_setup_mem()
/Linux-v4.19/include/linux/
Dfb.h474 struct mutex mm_lock; /* Lock for fb_mmap and smem_* fields */ member
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_base.c724 mutex_lock(&minfo->fbcon.mm_lock); in matroxfb_update_fix()
727 mutex_unlock(&minfo->fbcon.mm_lock); in matroxfb_update_fix()
2095 mutex_init(&minfo->fbcon.mm_lock); in matroxfb_probe()
/Linux-v4.19/drivers/staging/xgifb/
DXGI_main_26.c1162 mutex_lock(&info->mm_lock); in XGIfb_get_fix()
1169 mutex_unlock(&info->mm_lock); in XGIfb_get_fix()
/Linux-v4.19/drivers/video/fbdev/i810/
Di810_main.c1094 mutex_lock(&info->mm_lock); in encode_fix()
1097 mutex_unlock(&info->mm_lock); in encode_fix()

12