Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c amdgpu_hmm_invalidate_gfx() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_bo_visible_size() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &plane->mutex
HALF_LOCKED2 *bo->tbo.base.resv
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_dmem_reclaim() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
LOCK2 global &dmemcg_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_attach() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_begin_cpu_access() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_map() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_move_notify() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &entry->dmabufs_lock
HALF_LOCKED2 &uverbs_dmabuf->mmap_entry->dmabufs_lock
HALF_LOCKED2 dmabuf->resv

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dmabuf_is_xgmi_accessible() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c dma_buf_attach_adev() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_bo_validate() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_bo_move() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_evict_flags() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_move_blit() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_access_memory() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 bo->base.resv
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_access_memory_sdma() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 bo->base.resv
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_alloc_gart() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &plane->mutex
HALF_LOCKED2 *bo->tbo.base.resv
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 bo->tbo.base.resv
HALF_LOCKED2 new_abo->tbo.base.resv
HALF_LOCKED2 obj->tbo.base.resv
HALF_LOCKED2 rbo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_backend_bind() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_backend_unbind() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_clear_buffer() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->base._resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_io_mem_pfn() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->pm.mclk_lock
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_io_mem_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_map_buffer() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &entity->lock
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_recover_gart() -> amdgpu_ttm_adev()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mgr->lock
TYPE_LOCK (struct amdgpu_gtt_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_create() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_pin_userptr() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_populate() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_unpin_userptr() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_unpopulate() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bdev->pool.dev->cma_area->available_count

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_fault_reserve_notify() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 bo->base.resv
LOCK2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_fb_aper_addr() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->firmware.mutex
HALF_LOCKED2 &psp->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_free_kernel() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_gpu_offset_no_check() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_pin() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &plane->mutex
HALF_LOCKED2 *bo->tbo.base.resv
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_placement_from_domain() -> amdgpu_ttm_adev()

Type Parameter Key Value
BUF_SIZE 0 bdev (-1),5760
BUF_SIZE 0 bdev (-1),5760
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 abo->tbo.base.resv
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_print_info() -> amdgpu_ttm_adev()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->filelist_mutex
LOCK2 &m->lock
HALF_LOCKED2 &file->table_lock
HALF_LOCKED2 vm->root.bo->tbo.base.resv
TYPE_LOCK (struct drm_device)->filelist_mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_release_notify() -> amdgpu_ttm_adev()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_set_tiling_flags() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_sync_wait() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 bo->tbo.base.resv
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_unpin() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &plane->mutex
HALF_LOCKED2 *bo->tbo.base.resv
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_bo_update() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &process_info->lock

drivers/gpu/drm/amd/amdgpu/dce_v8_0.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c init_user_queue() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_force_into_vcpu_segment() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/dce_v10_0.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_helper_prepare_fb() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_agp_addr() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_get_pde_for_bo() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_pd_addr() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 root_bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_wb.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_wb.c amdgpu_dm_wb_prepare_job() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

3d756af95eb3bd31 amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &plane->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_set_pixel() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(plane->dev)->mode_config.panic_lock
HALF_LOCKED2 flags

drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c amdgpu_vkms_prepare_fb() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_get_coherence_flags() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &process_info->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_mark_bo_teardown() -> amdgpu_ttm_adev()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mm->mmap_lock
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_close() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_open() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->driver_priv->mutex
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 &obj->dev->object_name_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_op_ioctl() -> amdgpu_ttm_adev()

Type Parameter Key Value
HALF_LOCKED2 gobj->resv

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_op_ioctl() -> amdgpu_ttm_adev()

Type Parameter Key Value
HALF_LOCKED2 gobj->resv

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_get_process_page_dir() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dqm->lock_hidden
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_restore_process_bos() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &process_info->lock
HALF_LOCKED2 global &kfd_processes_mutex
HALF_LOCKED2 global &kfd_processes_srcu
TYPE_LOCK (struct amdkfd_process_info)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_release_notify() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(*mem)->process_info->lock
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c kfd_mem_attach() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 &mem->lock
LOCK2 &mem->process_info->lock
LOCK2 &p->mutex
HALF_LOCKED2 &gobj->dev->object_name_lock
TYPE_LOCK (struct amdkfd_process_info)->lock
TYPE_LOCK (struct kfd_process)->mutex
TYPE_LOCK (struct kgd_mem)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c kfd_mem_export_dmabuf() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 &mem->lock
LOCK2 &p->mutex
HALF_LOCKED2 &mem->process_info->lock
TYPE_LOCK (struct kfd_process)->mutex
TYPE_LOCK (struct kgd_mem)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c update_invalid_user_pages() -> amdgpu_ttm_adev()

Type Parameter Key Value
LOCK2 &process_info->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdkfd_process_info)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c vm_update_pds() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
TYPE_LOCK (struct amdkfd_process_info)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c vm_validate_pt_pd_bos() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 vm->root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
HALF_LOCKED2 &dev->filelist_mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c gmc_v12_1_get_coherence_flags() -> amdgpu_ttm_adev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &process_info->lock

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c amdgpu_bo_reserve() -> amdgpu_ttm_adev()

Type Parameter Key Value