Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/gpu/drm/i915/
Dintel_memory_region.c53 mutex_lock(&mem->mm_lock); in __intel_memory_region_put_pages_buddy()
55 mutex_unlock(&mem->mm_lock); in __intel_memory_region_put_pages_buddy()
95 mutex_lock(&mem->mm_lock); in __intel_memory_region_get_pages_buddy()
124 mutex_unlock(&mem->mm_lock); in __intel_memory_region_get_pages_buddy()
129 mutex_unlock(&mem->mm_lock); in __intel_memory_region_get_pages_buddy()
189 mutex_init(&mem->mm_lock); in intel_memory_region_create()
223 mutex_destroy(&mem->mm_lock); in __intel_memory_region_destroy()
Dintel_memory_region.h83 struct mutex mm_lock; member
/Linux-v5.10/drivers/gpu/drm/v3d/
Dv3d_bo.c43 spin_lock(&v3d->mm_lock); in v3d_free_object()
45 spin_unlock(&v3d->mm_lock); in v3d_free_object()
102 spin_lock(&v3d->mm_lock); in v3d_bo_create_finish()
110 spin_unlock(&v3d->mm_lock); in v3d_bo_create_finish()
Dv3d_drv.h76 spinlock_t mm_lock; member
/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c83 spin_lock(&priv->mm_lock); in panfrost_gem_teardown_mapping()
86 spin_unlock(&priv->mm_lock); in panfrost_gem_teardown_mapping()
147 spin_lock(&priv->mm_lock); in panfrost_gem_open()
150 spin_unlock(&priv->mm_lock); in panfrost_gem_open()
Dpanfrost_device.h132 spinlock_t mm_lock; member
Dpanfrost_mmu.c426 spin_lock(&priv->mm_lock); in addr_to_mapping()
438 spin_unlock(&priv->mm_lock); in addr_to_mapping()
Dpanfrost_drv.c492 spin_lock_init(&panfrost_priv->mm_lock); in panfrost_open()
/Linux-v5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c26 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
30 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
53 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
55 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
67 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_unmap()
71 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_unmap()
Drockchip_drm_drv.h49 struct mutex mm_lock; member
Drockchip_drm_drv.c95 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c342 spin_lock(&i915->mm_lock); in i915_gem_userptr_init__mm_struct()
351 spin_unlock(&i915->mm_lock); in i915_gem_userptr_init__mm_struct()
375 spin_lock(&mm->i915->mm_lock); in __i915_mm_struct_free()
377 spin_unlock(&mm->i915->mm_lock); in __i915_mm_struct_free()
843 spin_lock_init(&dev_priv->mm_lock); in i915_gem_init_userptr()
/Linux-v5.10/drivers/gpu/drm/tegra/
Dgem.c187 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map()
206 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
213 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
223 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
226 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
Ddrm.c829 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova()
831 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova()
1169 mutex_init(&tegra->mm_lock); in host1x_drm_probe()
1225 mutex_destroy(&tegra->mm_lock); in host1x_drm_probe()
1268 mutex_destroy(&tegra->mm_lock); in host1x_drm_remove()
Ddrm.h41 struct mutex mm_lock; member
/Linux-v5.10/drivers/gpu/drm/vc4/
Dvc4_hvs.c352 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
355 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
604 spin_lock_init(&hvs->mm_lock); in vc4_hvs_bind()
Dvc4_plane.c199 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
201 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
592 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
598 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
Dvc4_crtc.c844 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
846 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
Dvc4_drv.h335 spinlock_t mm_lock; member
/Linux-v5.10/drivers/video/fbdev/
Dplatinumfb.c141 mutex_lock(&info->mm_lock); in platinumfb_set_par()
143 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
Dmx3fb.c1347 mutex_lock(&fbi->mm_lock); in mx3fb_map_video_memory()
1351 mutex_unlock(&fbi->mm_lock); in mx3fb_map_video_memory()
1381 mutex_lock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
1384 mutex_unlock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
Dfsl-diu-fb.c878 mutex_lock(&info->mm_lock); in map_video_memory()
882 mutex_unlock(&info->mm_lock); in map_video_memory()
893 mutex_lock(&info->mm_lock); in unmap_video_memory()
897 mutex_unlock(&info->mm_lock); in unmap_video_memory()
Dsm501fb.c487 mutex_lock(&info->mm_lock); in sm501fb_set_par_common()
490 mutex_unlock(&info->mm_lock); in sm501fb_set_par_common()
1911 mutex_init(&info->fb[head]->mm_lock); in sm501fb_start_one()
/Linux-v5.10/drivers/video/fbdev/core/
Dfbmem.c1347 mutex_lock(&info->mm_lock); in fb_mmap()
1365 mutex_unlock(&info->mm_lock); in fb_mmap()
1378 mutex_unlock(&info->mm_lock); in fb_mmap()
1386 mutex_unlock(&info->mm_lock); in fb_mmap()
1610 mutex_init(&fb_info->mm_lock); in do_register_framebuffer()
/Linux-v5.10/drivers/video/fbdev/omap/
Domapfb_main.c378 mutex_lock(&fbi->mm_lock); in set_fb_fix()
381 mutex_unlock(&fbi->mm_lock); in set_fb_fix()
871 mutex_lock(&fbi->mm_lock); in omapfb_setup_mem()
874 mutex_unlock(&fbi->mm_lock); in omapfb_setup_mem()

12