/linux-4.4.14/drivers/gpu/drm/via/ |
D | via_mm.c | 45 mutex_lock(&dev->struct_mutex); in via_agp_init() 50 mutex_unlock(&dev->struct_mutex); in via_agp_init() 61 mutex_lock(&dev->struct_mutex); in via_fb_init() 67 mutex_unlock(&dev->struct_mutex); in via_fb_init() 98 mutex_lock(&dev->struct_mutex); in via_lastclose() 107 mutex_unlock(&dev->struct_mutex); in via_lastclose() 124 mutex_lock(&dev->struct_mutex); in via_mem_alloc() 129 mutex_unlock(&dev->struct_mutex); in via_mem_alloc() 157 mutex_unlock(&dev->struct_mutex); in via_mem_alloc() 170 mutex_unlock(&dev->struct_mutex); in via_mem_alloc() [all …]
|
/linux-4.4.14/drivers/gpu/drm/sis/ |
D | sis_mm.c | 68 mutex_lock(&dev->struct_mutex); in sis_fb_init() 76 mutex_unlock(&dev->struct_mutex); in sis_fb_init() 92 mutex_lock(&dev->struct_mutex); in sis_drm_alloc() 98 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc() 139 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc() 153 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc() 171 mutex_lock(&dev->struct_mutex); in sis_drm_free() 174 mutex_unlock(&dev->struct_mutex); in sis_drm_free() 187 mutex_unlock(&dev->struct_mutex); in sis_drm_free() 206 mutex_lock(&dev->struct_mutex); in sis_ioctl_agp_init() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_context.c | 60 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free() 62 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free() 78 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next() 81 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next() 115 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup() 117 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup() 183 mutex_lock(&dev->struct_mutex); in drm_legacy_getsareactx() 187 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx() 200 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx() 231 mutex_lock(&dev->struct_mutex); in drm_legacy_setsareactx() [all …]
|
D | drm_info.c | 87 mutex_lock(&dev->struct_mutex); in drm_vm_info() 110 mutex_unlock(&dev->struct_mutex); in drm_vm_info() 124 mutex_lock(&dev->struct_mutex); in drm_bufs_info() 127 mutex_unlock(&dev->struct_mutex); in drm_bufs_info() 152 mutex_unlock(&dev->struct_mutex); in drm_bufs_info() 177 mutex_lock(&dev->struct_mutex); in drm_clients_info() 193 mutex_unlock(&dev->struct_mutex); in drm_clients_info()
|
D | drm_auth.c | 51 mutex_lock(&dev->struct_mutex); in drm_getmagic() 59 mutex_unlock(&dev->struct_mutex); in drm_getmagic() 84 mutex_lock(&dev->struct_mutex); in drm_authmagic() 90 mutex_unlock(&dev->struct_mutex); in drm_authmagic()
|
D | drm_bufs.c | 337 mutex_lock(&dev->struct_mutex); in drm_addmap_core() 351 mutex_unlock(&dev->struct_mutex); in drm_addmap_core() 356 mutex_unlock(&dev->struct_mutex); in drm_addmap_core() 489 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap() 491 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap() 520 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl() 534 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl() 540 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl() 546 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl() 663 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_agp() [all …]
|
D | drm_fops.c | 255 mutex_lock(&dev->struct_mutex); in drm_open_helper() 257 mutex_unlock(&dev->struct_mutex); in drm_open_helper() 371 mutex_lock(&dev->struct_mutex); in drm_lastclose() 379 mutex_unlock(&dev->struct_mutex); in drm_lastclose() 410 mutex_lock(&dev->struct_mutex); in drm_release() 414 mutex_unlock(&dev->struct_mutex); in drm_release() 456 mutex_lock(&dev->struct_mutex); in drm_release() 464 mutex_unlock(&dev->struct_mutex); in drm_release()
|
D | drm_vm.c | 232 mutex_lock(&dev->struct_mutex); in drm_vm_shm_close() 278 mutex_unlock(&dev->struct_mutex); in drm_vm_shm_close() 427 mutex_lock(&dev->struct_mutex); in drm_vm_open() 429 mutex_unlock(&dev->struct_mutex); in drm_vm_open() 462 mutex_lock(&dev->struct_mutex); in drm_vm_close() 464 mutex_unlock(&dev->struct_mutex); in drm_vm_close() 663 mutex_lock(&dev->struct_mutex); in drm_legacy_mmap() 665 mutex_unlock(&dev->struct_mutex); in drm_legacy_mmap() 693 mutex_lock(&dev->struct_mutex); in drm_vma_info() 732 mutex_unlock(&dev->struct_mutex); in drm_vma_info()
|
D | drm_drv.c | 120 mutex_lock(&dev->struct_mutex); in drm_master_destroy() 130 mutex_unlock(&dev->struct_mutex); in drm_master_destroy() 594 mutex_init(&dev->struct_mutex); in drm_dev_alloc()
|
D | drm_ioctl.c | 179 mutex_lock(&dev->struct_mutex); in drm_getmap() 188 mutex_unlock(&dev->struct_mutex); in drm_getmap() 199 mutex_unlock(&dev->struct_mutex); in drm_getmap()
|
D | drm_irq.c | 647 mutex_lock(&dev->struct_mutex); in drm_control() 649 mutex_unlock(&dev->struct_mutex); in drm_control() 653 mutex_lock(&dev->struct_mutex); in drm_control() 655 mutex_unlock(&dev->struct_mutex); in drm_control()
|
D | drm_gem.c | 770 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in drm_gem_object_free()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_gem.c | 140 mutex_lock(&dev->struct_mutex); in msm_gem_get_pages() 142 mutex_unlock(&dev->struct_mutex); in msm_gem_get_pages() 205 ret = mutex_lock_interruptible(&dev->struct_mutex); in msm_gem_fault() 228 mutex_unlock(&dev->struct_mutex); in msm_gem_fault() 254 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in mmap_offset() 270 mutex_lock(&obj->dev->struct_mutex); in msm_gem_mmap_offset() 272 mutex_unlock(&obj->dev->struct_mutex); in msm_gem_mmap_offset() 332 mutex_lock(&obj->dev->struct_mutex); in msm_gem_get_iova() 334 mutex_unlock(&obj->dev->struct_mutex); in msm_gem_get_iova() 391 WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex)); in msm_gem_vaddr_locked() [all …]
|
D | msm_gpu.c | 162 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_gpu_pm_resume() 192 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_gpu_pm_suspend() 228 mutex_lock(&dev->struct_mutex); in inactive_worker() 234 mutex_unlock(&dev->struct_mutex); in inactive_worker() 277 mutex_lock(&dev->struct_mutex); in recover_worker() 293 mutex_unlock(&dev->struct_mutex); in recover_worker() 438 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in retire_submits() 463 mutex_lock(&dev->struct_mutex); in retire_worker() 484 mutex_unlock(&dev->struct_mutex); in retire_worker() 506 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_gpu_submit() [all …]
|
D | msm_fbdev.c | 107 mutex_lock(&dev->struct_mutex); in msm_fbdev_create() 110 mutex_unlock(&dev->struct_mutex); in msm_fbdev_create() 129 mutex_lock(&dev->struct_mutex); in msm_fbdev_create() 173 mutex_unlock(&dev->struct_mutex); in msm_fbdev_create() 178 mutex_unlock(&dev->struct_mutex); in msm_fbdev_create()
|
D | msm_drv.c | 215 mutex_lock(&dev->struct_mutex); in msm_unload() 217 mutex_unlock(&dev->struct_mutex); in msm_unload() 482 mutex_lock(&dev->struct_mutex); in msm_preclose() 485 mutex_unlock(&dev->struct_mutex); in msm_preclose() 621 ret = mutex_lock_interruptible(&dev->struct_mutex); in show_locked() 627 mutex_unlock(&dev->struct_mutex); in show_locked() 763 mutex_lock(&dev->struct_mutex); in msm_queue_fence_cb() 772 mutex_unlock(&dev->struct_mutex); in msm_queue_fence_cb() 782 mutex_lock(&dev->struct_mutex); in msm_update_fence() 798 mutex_unlock(&dev->struct_mutex); in msm_update_fence()
|
D | msm_rd.c | 169 mutex_lock(&dev->struct_mutex); in rd_open() 188 mutex_unlock(&dev->struct_mutex); in rd_open() 295 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in msm_rd_dump_submit()
|
D | msm_perf.c | 168 mutex_lock(&dev->struct_mutex); in perf_open() 184 mutex_unlock(&dev->struct_mutex); in perf_open()
|
D | msm_gem_submit.c | 341 mutex_lock(&dev->struct_mutex); in msm_ioctl_gem_submit() 424 mutex_unlock(&dev->struct_mutex); in msm_ioctl_gem_submit()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_dmabuf.c | 77 mutex_unlock(&obj->base.dev->struct_mutex); in i915_gem_map_dma_buf() 87 mutex_unlock(&obj->base.dev->struct_mutex); in i915_gem_map_dma_buf() 98 mutex_lock(&obj->base.dev->struct_mutex); in i915_gem_unmap_dma_buf() 106 mutex_unlock(&obj->base.dev->struct_mutex); in i915_gem_unmap_dma_buf() 150 mutex_unlock(&dev->struct_mutex); in i915_gem_dmabuf_vmap() 156 mutex_unlock(&dev->struct_mutex); in i915_gem_dmabuf_vmap() 165 mutex_lock(&dev->struct_mutex); in i915_gem_dmabuf_vunmap() 172 mutex_unlock(&dev->struct_mutex); in i915_gem_dmabuf_vunmap() 211 mutex_unlock(&dev->struct_mutex); in i915_gem_begin_cpu_access()
|
D | i915_gem_shrinker.c | 177 if (!mutex_trylock(&dev->struct_mutex)) { in i915_gem_shrinker_lock() 178 if (!mutex_is_locked_by(&dev->struct_mutex, current)) in i915_gem_shrinker_lock() 230 mutex_unlock(&dev->struct_mutex); in i915_gem_shrinker_count() 258 mutex_unlock(&dev->struct_mutex); in i915_gem_shrinker_scan() 317 mutex_unlock(&dev->struct_mutex); in i915_gem_shrinker_oom()
|
D | i915_gem_context.c | 269 BUG_ON(!mutex_is_locked(&dev->struct_mutex)); in i915_gem_create_context() 480 mutex_lock(&dev->struct_mutex); in i915_gem_context_open() 482 mutex_unlock(&dev->struct_mutex); in i915_gem_context_open() 829 WARN_ON(!mutex_is_locked(&dev_priv->dev->struct_mutex)); in i915_switch_context() 865 mutex_unlock(&dev->struct_mutex); in i915_gem_context_create_ioctl() 892 mutex_unlock(&dev->struct_mutex); in i915_gem_context_destroy_ioctl() 898 mutex_unlock(&dev->struct_mutex); in i915_gem_context_destroy_ioctl() 918 mutex_unlock(&dev->struct_mutex); in i915_gem_context_getparam_ioctl() 934 mutex_unlock(&dev->struct_mutex); in i915_gem_context_getparam_ioctl() 953 mutex_unlock(&dev->struct_mutex); in i915_gem_context_setparam_ioctl() [all …]
|
D | intel_fbdev.c | 58 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par() 60 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par() 76 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank() 78 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank() 95 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_pan_display() 97 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_pan_display() 196 mutex_lock(&dev->struct_mutex); in intelfb_create() 276 mutex_unlock(&dev->struct_mutex); in intelfb_create() 286 mutex_unlock(&dev->struct_mutex); in intelfb_create() 800 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_restore_mode() [all …]
|
D | i915_gem_tiling.c | 179 mutex_lock(&dev->struct_mutex); in i915_gem_set_tiling() 270 mutex_unlock(&dev->struct_mutex); in i915_gem_set_tiling() 300 mutex_lock(&dev->struct_mutex); in i915_gem_get_tiling() 328 mutex_unlock(&dev->struct_mutex); in i915_gem_get_tiling()
|
D | i915_suspend.c | 109 mutex_lock(&dev->struct_mutex); in i915_save_state() 144 mutex_unlock(&dev->struct_mutex); in i915_save_state() 154 mutex_lock(&dev->struct_mutex); in i915_restore_state() 191 mutex_unlock(&dev->struct_mutex); in i915_restore_state()
|
D | i915_debugfs.c | 213 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_gem_object_list_info() 228 mutex_unlock(&dev->struct_mutex); in i915_gem_object_list_info() 241 mutex_unlock(&dev->struct_mutex); in i915_gem_object_list_info() 273 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_gem_stolen_list_info() 306 mutex_unlock(&dev->struct_mutex); in i915_gem_stolen_list_info() 443 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_gem_object_info() 523 mutex_unlock(&dev->struct_mutex); in i915_gem_object_info() 538 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_gem_gtt_info() 555 mutex_unlock(&dev->struct_mutex); in i915_gem_gtt_info() 571 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_gem_pageflip_info() [all …]
|
D | i915_gem_batch_pool.c | 68 WARN_ON(!mutex_is_locked(&pool->dev->struct_mutex)); in i915_gem_batch_pool_fini() 105 WARN_ON(!mutex_is_locked(&pool->dev->struct_mutex)); in i915_gem_batch_pool_get()
|
D | intel_overlay.c | 414 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_overlay_release_old_vid() 745 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_overlay_do_put_image() 856 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_overlay_switch_off() 1106 mutex_lock(&dev->struct_mutex); in intel_overlay_put_image() 1110 mutex_unlock(&dev->struct_mutex); in intel_overlay_put_image() 1135 mutex_lock(&dev->struct_mutex); in intel_overlay_put_image() 1215 mutex_unlock(&dev->struct_mutex); in intel_overlay_put_image() 1223 mutex_unlock(&dev->struct_mutex); in intel_overlay_put_image() 1300 mutex_lock(&dev->struct_mutex); in intel_overlay_attrs() 1365 mutex_unlock(&dev->struct_mutex); in intel_overlay_attrs() [all …]
|
D | intel_frontbuffer.c | 85 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_fb_obj_invalidate() 152 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_fb_obj_flush()
|
D | i915_gem.c | 121 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_mutex_lock_interruptible() 140 mutex_lock(&dev->struct_mutex); in i915_gem_get_aperture_ioctl() 147 mutex_unlock(&dev->struct_mutex); in i915_gem_get_aperture_ioctl() 345 mutex_unlock(&dev->struct_mutex); in i915_gem_phys_pwrite() 347 mutex_lock(&dev->struct_mutex); in i915_gem_phys_pwrite() 645 mutex_unlock(&dev->struct_mutex); in i915_gem_shmem_pread() 661 mutex_lock(&dev->struct_mutex); in i915_gem_shmem_pread() 731 mutex_unlock(&dev->struct_mutex); in i915_gem_pread_ioctl() 979 mutex_unlock(&dev->struct_mutex); in i915_gem_shmem_pwrite() 985 mutex_lock(&dev->struct_mutex); in i915_gem_shmem_pwrite() [all …]
|
D | intel_guc_loader.c | 507 mutex_lock(&dev->struct_mutex); in guc_fw_fetch() 509 mutex_unlock(&dev->struct_mutex); in guc_fw_fetch() 601 mutex_lock(&dev->struct_mutex); in intel_guc_ucode_fini() 605 mutex_unlock(&dev->struct_mutex); in intel_guc_ucode_fini()
|
D | i915_gem_userptr.c | 72 mutex_lock(&dev->struct_mutex); in __cancel_userptr__worker() 94 mutex_unlock(&dev->struct_mutex); in __cancel_userptr__worker() 193 mutex_lock(&dev->struct_mutex); in i915_mmu_notifier_add() 230 mutex_unlock(&dev->struct_mutex); in i915_mmu_notifier_add() 600 mutex_lock(&dev->struct_mutex); in __i915_gem_userptr_get_pages_worker() 619 mutex_unlock(&dev->struct_mutex); in __i915_gem_userptr_get_pages_worker()
|
D | i915_sysfs.c | 192 mutex_unlock(&drm_dev->struct_mutex); in i915_l3_read() 225 mutex_unlock(&drm_dev->struct_mutex); in i915_l3_write() 233 mutex_unlock(&drm_dev->struct_mutex); in i915_l3_write() 250 mutex_unlock(&drm_dev->struct_mutex); in i915_l3_write() 565 ret = mutex_lock_interruptible(&dev->struct_mutex); in error_state_write() 570 mutex_unlock(&dev->struct_mutex); in error_state_write()
|
D | i915_drv.c | 748 mutex_lock(&dev->struct_mutex); in i915_drm_resume() 750 mutex_unlock(&dev->struct_mutex); in i915_drm_resume() 768 mutex_lock(&dev->struct_mutex); in i915_drm_resume() 773 mutex_unlock(&dev->struct_mutex); in i915_drm_resume() 892 mutex_lock(&dev->struct_mutex); in i915_reset() 916 mutex_unlock(&dev->struct_mutex); in i915_reset() 944 mutex_unlock(&dev->struct_mutex); in i915_reset() 1493 if (!mutex_trylock(&dev->struct_mutex)) { in intel_runtime_suspend() 1508 mutex_unlock(&dev->struct_mutex); in intel_runtime_suspend()
|
D | i915_gem_execbuffer.c | 815 mutex_unlock(&dev->struct_mutex); in i915_gem_execbuffer_relocate_slow() 826 mutex_lock(&dev->struct_mutex); in i915_gem_execbuffer_relocate_slow() 841 mutex_lock(&dev->struct_mutex); in i915_gem_execbuffer_relocate_slow() 859 mutex_lock(&dev->struct_mutex); in i915_gem_execbuffer_relocate_slow() 870 mutex_lock(&dev->struct_mutex); in i915_gem_execbuffer_relocate_slow() 1292 mutex_lock(&dev->struct_mutex); in gen8_dispatch_bsd_ring() 1301 mutex_unlock(&dev->struct_mutex); in gen8_dispatch_bsd_ring() 1435 mutex_unlock(&dev->struct_mutex); in i915_gem_do_execbuffer() 1452 mutex_unlock(&dev->struct_mutex); in i915_gem_do_execbuffer() 1478 BUG_ON(!mutex_is_locked(&dev->struct_mutex)); in i915_gem_do_execbuffer() [all …]
|
D | i915_dma.c | 449 mutex_lock(&dev->struct_mutex); in i915_load_modeset_init() 452 mutex_unlock(&dev->struct_mutex); in i915_load_modeset_init() 1193 mutex_lock(&dev->struct_mutex); in i915_driver_unload() 1196 mutex_unlock(&dev->struct_mutex); in i915_driver_unload() 1255 mutex_lock(&dev->struct_mutex); in i915_driver_preclose() 1258 mutex_unlock(&dev->struct_mutex); in i915_driver_preclose()
|
D | i915_gem_evict.c | 221 WARN_ON(!mutex_is_locked(&vm->dev->struct_mutex)); in i915_gem_evict_vm()
|
D | intel_uncore.c | 1172 mutex_lock(&dev->struct_mutex); in intel_uncore_fw_domains_init() 1176 mutex_unlock(&dev->struct_mutex); in intel_uncore_fw_domains_init() 1347 ret = mutex_lock_interruptible(&dev->struct_mutex); in i915_get_reset_stats_ioctl() 1353 mutex_unlock(&dev->struct_mutex); in i915_get_reset_stats_ioctl() 1366 mutex_unlock(&dev->struct_mutex); in i915_get_reset_stats_ioctl()
|
D | intel_display.c | 2344 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in intel_pin_and_fence_fb_obj() 2440 WARN_ON(!mutex_is_locked(&obj->base.dev->struct_mutex)); in intel_unpin_fb_obj() 2569 mutex_lock(&dev->struct_mutex); in intel_alloc_initial_plane_obj() 2575 mutex_unlock(&dev->struct_mutex); in intel_alloc_initial_plane_obj() 2582 mutex_unlock(&dev->struct_mutex); in intel_alloc_initial_plane_obj() 3975 mutex_lock(&dev->struct_mutex); in intel_crtc_wait_for_pending_flips() 3977 mutex_unlock(&dev->struct_mutex); in intel_crtc_wait_for_pending_flips() 4693 mutex_lock(&dev->struct_mutex); in intel_crtc_dpms_overlay_disable() 4697 mutex_unlock(&dev->struct_mutex); in intel_crtc_dpms_overlay_disable() 4847 mutex_lock(&dev->struct_mutex); in intel_pre_plane_update() [all …]
|
D | intel_lrc.c | 951 WARN_ON(!mutex_is_locked(&ring->dev->struct_mutex)); in intel_execlists_retire_requests() 1018 WARN_ON(!mutex_is_locked(&ring->dev->struct_mutex)); in intel_lr_context_do_pin() 1068 WARN_ON(!mutex_is_locked(&ring->dev->struct_mutex)); in intel_lr_context_unpin()
|
D | i915_drv.h | 2303 WARN_ON(!mutex_is_locked(&req->ring->dev->struct_mutex)); in i915_gem_request_unreference() 2316 if (kref_put_mutex(&req->ref, i915_gem_request_free, &dev->struct_mutex)) in i915_gem_request_unreference__unlocked() 2317 mutex_unlock(&dev->struct_mutex); in i915_gem_request_unreference__unlocked()
|
D | i915_trace.h | 617 mutex_is_locked(&ring->dev->struct_mutex);
|
D | intel_pm.c | 5242 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in cherryview_setup_pctx() 5265 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in valleyview_setup_pctx() 6240 mutex_lock(&dev->struct_mutex); in intel_enable_gt_powersave() 6243 mutex_unlock(&dev->struct_mutex); in intel_enable_gt_powersave()
|
D | i915_irq.c | 1180 mutex_lock(&dev_priv->dev->struct_mutex); in ivybridge_parity_work() 1236 mutex_unlock(&dev_priv->dev->struct_mutex); in ivybridge_parity_work()
|
/linux-4.4.14/include/drm/ |
D | drm_gem.h | 146 WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex)); in drm_gem_object_unreference() 161 if (kref_put_mutex(&obj->refcount, drm_gem_object_free, &dev->struct_mutex)) in drm_gem_object_unreference_unlocked() 162 mutex_unlock(&dev->struct_mutex); in drm_gem_object_unreference_unlocked() 164 might_lock(&dev->struct_mutex); in drm_gem_object_unreference_unlocked()
|
D | drmP.h | 749 struct mutex struct_mutex; /**< For others */ member
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | gem.c | 65 mutex_lock(&dev->struct_mutex); in psb_gem_dumb_map_gtt() 83 mutex_unlock(&dev->struct_mutex); in psb_gem_dumb_map_gtt() 192 mutex_lock(&dev->struct_mutex); in psb_gem_fault() 218 mutex_unlock(&dev->struct_mutex); in psb_gem_fault()
|
D | framebuffer.c | 409 mutex_lock(&dev->struct_mutex); in psbfb_create() 466 mutex_unlock(&dev->struct_mutex); in psbfb_create() 476 mutex_unlock(&dev->struct_mutex); in psbfb_create() 787 mutex_lock(&dev->struct_mutex); in psb_modeset_cleanup() 793 mutex_unlock(&dev->struct_mutex); in psb_modeset_cleanup()
|
D | gma_display.c | 352 mutex_lock(&dev->struct_mutex); in gma_crtc_cursor_set() 369 mutex_unlock(&dev->struct_mutex); in gma_crtc_cursor_set() 379 mutex_lock(&dev->struct_mutex); in gma_crtc_cursor_set() 449 mutex_unlock(&dev->struct_mutex); in gma_crtc_cursor_set() 454 mutex_unlock(&dev->struct_mutex); in gma_crtc_cursor_set()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 355 mutex_lock(&dev->struct_mutex); in exynos_drm_gem_get_ioctl() 360 mutex_unlock(&dev->struct_mutex); in exynos_drm_gem_get_ioctl() 370 mutex_unlock(&dev->struct_mutex); in exynos_drm_gem_get_ioctl() 381 mutex_lock(&drm_dev->struct_mutex); in exynos_gem_map_sgt_with_dma() 386 mutex_unlock(&drm_dev->struct_mutex); in exynos_gem_map_sgt_with_dma() 390 mutex_unlock(&drm_dev->struct_mutex); in exynos_gem_map_sgt_with_dma() 451 mutex_lock(&dev->struct_mutex); in exynos_drm_gem_dumb_map_offset() 471 mutex_unlock(&dev->struct_mutex); in exynos_drm_gem_dumb_map_offset()
|
D | exynos_drm_fbdev.c | 141 mutex_lock(&dev->struct_mutex); in exynos_drm_fbdev_create() 176 mutex_unlock(&dev->struct_mutex); in exynos_drm_fbdev_create() 190 mutex_unlock(&dev->struct_mutex); in exynos_drm_fbdev_create()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 311 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in mmap_offset() 327 mutex_lock(&obj->dev->struct_mutex); in omap_gem_mmap_offset() 329 mutex_unlock(&obj->dev->struct_mutex); in omap_gem_mmap_offset() 516 mutex_lock(&dev->struct_mutex); in omap_gem_fault() 536 mutex_unlock(&dev->struct_mutex); in omap_gem_fault() 674 mutex_lock(&obj->dev->struct_mutex); in omap_gem_roll() 688 mutex_unlock(&obj->dev->struct_mutex); in omap_gem_roll() 746 mutex_lock(&obj->dev->struct_mutex); in omap_gem_get_paddr() 803 mutex_unlock(&obj->dev->struct_mutex); in omap_gem_get_paddr() 816 mutex_lock(&obj->dev->struct_mutex); in omap_gem_put_paddr() [all …]
|
D | omap_debugfs.c | 35 ret = mutex_lock_interruptible(&dev->struct_mutex); in gem_show() 42 mutex_unlock(&dev->struct_mutex); in gem_show()
|
D | omap_fbdev.c | 177 mutex_lock(&dev->struct_mutex); in omap_fbdev_create() 220 mutex_unlock(&dev->struct_mutex); in omap_fbdev_create() 225 mutex_unlock(&dev->struct_mutex); in omap_fbdev_create()
|
/linux-4.4.14/drivers/gpu/drm/vgem/ |
D | vgem_drv.c | 106 mutex_lock(&dev->struct_mutex); in vgem_gem_fault() 111 mutex_unlock(&dev->struct_mutex); in vgem_gem_fault() 204 mutex_lock(&dev->struct_mutex); in vgem_gem_dumb_map() 234 mutex_unlock(&dev->struct_mutex); in vgem_gem_dumb_map()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | gem.c | 33 mutex_lock(&drm->struct_mutex); in tegra_bo_put() 35 mutex_unlock(&drm->struct_mutex); in tegra_bo_put() 77 mutex_lock(&drm->struct_mutex); in tegra_bo_get() 79 mutex_unlock(&drm->struct_mutex); in tegra_bo_get() 411 mutex_lock(&drm->struct_mutex); in tegra_bo_dumb_map_offset() 416 mutex_unlock(&drm->struct_mutex); in tegra_bo_dumb_map_offset() 426 mutex_unlock(&drm->struct_mutex); in tegra_bo_dumb_map_offset()
|
D | drm.c | 280 mutex_lock(&drm->struct_mutex); in host1x_bo_lookup() 282 mutex_unlock(&drm->struct_mutex); in host1x_bo_lookup()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_gem.c | 147 mutex_lock(&dev->struct_mutex); in armada_gem_linear_back() 150 mutex_unlock(&dev->struct_mutex); in armada_gem_linear_back() 161 mutex_lock(&dev->struct_mutex); in armada_gem_linear_back() 163 mutex_unlock(&dev->struct_mutex); in armada_gem_linear_back() 277 mutex_lock(&dev->struct_mutex); in armada_gem_dumb_map_offset() 299 mutex_unlock(&dev->struct_mutex); in armada_gem_dumb_map_offset()
|
D | armada_debugfs.c | 24 mutex_lock(&dev->struct_mutex); in armada_debugfs_gem_linear_show() 26 mutex_unlock(&dev->struct_mutex); in armada_debugfs_gem_linear_show()
|
D | armada_crtc.c | 931 mutex_lock(&dev->struct_mutex); in armada_drm_crtc_cursor_set() 945 mutex_unlock(&dev->struct_mutex); in armada_drm_crtc_cursor_set() 960 mutex_lock(&dev->struct_mutex); in armada_drm_crtc_cursor_move() 964 mutex_unlock(&dev->struct_mutex); in armada_drm_crtc_cursor_move()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_gem.c | 219 mutex_lock(&dev->struct_mutex); in udl_gem_mmap() 239 mutex_unlock(&dev->struct_mutex); in udl_gem_mmap()
|
D | udl_dmabuf.c | 115 mutex_lock(&dev->struct_mutex); in udl_map_dma_buf() 140 mutex_unlock(&dev->struct_mutex); in udl_map_dma_buf()
|
/linux-4.4.14/drivers/gpu/drm/msm/adreno/ |
D | adreno_device.c | 144 mutex_lock(&dev->struct_mutex); in adreno_load_gpu() 146 mutex_unlock(&dev->struct_mutex); in adreno_load_gpu()
|
D | adreno_gpu.c | 383 mutex_lock(&drm->struct_mutex); in adreno_gpu_init() 386 mutex_unlock(&drm->struct_mutex); in adreno_gpu_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_fbcon.c | 389 mutex_lock(&dev->struct_mutex); in nouveau_fbcon_create() 429 mutex_unlock(&dev->struct_mutex); in nouveau_fbcon_create() 444 mutex_unlock(&dev->struct_mutex); in nouveau_fbcon_create()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_kms.c | 528 mutex_lock(&dev->struct_mutex); in mdp4_kms_init() 530 mutex_unlock(&dev->struct_mutex); in mdp4_kms_init()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 841 mutex_lock(&dev->struct_mutex); in dsi_tx_buf_alloc() 847 mutex_unlock(&dev->struct_mutex); in dsi_tx_buf_alloc() 856 mutex_unlock(&dev->struct_mutex); in dsi_tx_buf_alloc() 872 mutex_lock(&dev->struct_mutex); in dsi_tx_buf_free() 875 mutex_unlock(&dev->struct_mutex); in dsi_tx_buf_free()
|