Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c80 spin_lock(&mapping->mmu->mm_lock); in panfrost_gem_teardown_mapping()
83 spin_unlock(&mapping->mmu->mm_lock); in panfrost_gem_teardown_mapping()
145 spin_lock(&mapping->mmu->mm_lock); in panfrost_gem_open()
148 spin_unlock(&mapping->mmu->mm_lock); in panfrost_gem_open()
Dpanfrost_device.h128 spinlock_t mm_lock; member
Dpanfrost_mmu.c373 spin_lock(&mmu->mm_lock); in addr_to_mapping()
385 spin_unlock(&mmu->mm_lock); in addr_to_mapping()
569 spin_lock_init(&mmu->mm_lock); in panfrost_mmu_ctx_create()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
1171 mutex_init(&tegra->mm_lock); in host1x_drm_probe()
1227 mutex_destroy(&tegra->mm_lock); in host1x_drm_probe()
1270 mutex_destroy(&tegra->mm_lock); in host1x_drm_remove()
Ddrm.h41 struct mutex mm_lock; member
/kernel/linux/linux-5.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()
605 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()
601 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
607 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
Dvc4_crtc.c863 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
865 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
Dvc4_drv.h334 spinlock_t mm_lock; member
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbmem.c1363 mutex_lock(&info->mm_lock); in fb_mmap()
1381 mutex_unlock(&info->mm_lock); in fb_mmap()
1394 mutex_unlock(&info->mm_lock); in fb_mmap()
1402 mutex_unlock(&info->mm_lock); in fb_mmap()
1626 mutex_init(&fb_info->mm_lock); in do_register_framebuffer()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
Dfb.h447 struct mutex mm_lock; /* Lock for fb_mmap and smem_* fields */ member

12