Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 39 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c gmc_v6_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_parser_bos() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c amdgpu_doorbell_index_on_bar() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 0 bo->tbo.base.resv

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->mman.default_entity.lock
LOCK2 bo->base.resv
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock

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

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_object.c amdgpu_bo_create_isp_user() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 *bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_create_reserved() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 *bo_ptr->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c uvd_v6_0_enc_get_create_msg() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &m->lock

drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c uvd_v6_0_enc_get_destroy_msg() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &m->lock

drivers/gpu/drm/amd/amdgpu/dce_v8_0.c dce_v8_0_crtc_cursor_set2() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
LOCK2 &crtc->mutex
TYPE_LOCK (struct drm_crtc)->mutex

drivers/gpu/drm/amd/amdgpu/dce_v8_0.c dce_v8_0_crtc_do_set_base() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 bo->tbo.base.resv

19f4aff6129bc862 gfx_v9_0_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_cs_reloc() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
CAPPED_DATA 0 bo->placement.num_placement 1

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c dce_v6_0_crtc_cursor_set2() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
LOCK2 &crtc->mutex
TYPE_LOCK (struct drm_crtc)->mutex

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c dce_v6_0_crtc_do_set_base() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 bo->tbo.base.resv

2424e8ec9bf51854 gfx_v12_0_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

28ad57647bf6154f gfx11_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

28ad57647bf6154f gfx_v11_0_ring_emit_gfx_shadow() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max

28ad57647bf6154f gfx_v11_0_ring_emit_gfx_shadow() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_cs_pass2() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
CAPPED_DATA 0 bo->placement.num_placement 1

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_send_msg() -> amdgpu_bo_gpu_offset()

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

drivers/gpu/drm/amd/amdgpu/dce_v10_0.c dce_v10_0_crtc_cursor_set2() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
LOCK2 &crtc->mutex
TYPE_LOCK (struct drm_crtc)->mutex

drivers/gpu/drm/amd/amdgpu/dce_v10_0.c dce_v10_0_crtc_do_set_base() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 bo->tbo.base.resv

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

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c gmc_v8_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/vce_v1_0.c vce_v1_0_ensure_vcpu_bo_32bit_addr() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_create_wptr_mapping() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->placement.num_placement 1
DATA_SOURCE 0 bo r amdgpu_bo_ref
LOCK2 obj->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_gart_map() -> amdgpu_bo_gpu_offset()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_alloc_kernel_mem() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 bo->tbo.type 0-2
CAPPED_DATA 0 bo->tbo.bdev->pool.dev->cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->allowed_domains 0-126[c]
USER_DATA 0 bo->flags 0,520-131592[c][u]
USER_DATA 0 bo->preferred_domains 0-126[c]
USER_DATA 0 bo->tbo.base.size s64min-s64max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->tbo.page_alignment 0-4294967295
LOCK2 0 bo->tbo.base.resv
HALF_LOCKED2 &p->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource->mem_type 2
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 0 bo->tbo.base.resv

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

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 root_bo->tbo.base.resv
HALF_LOCKED2 0 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_vram_pa() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &psp->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
TASK_NOT_RUNNING

3d756af95eb3bd31 gfx_v12_1_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c gmc_v10_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_vm_validate_and_restore_queue() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_crtc_page_flip_target() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 bo->tbo.type 0,2-u32max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
LOCK2 &crtc->mutex
LOCK2 &plane->mutex
TYPE_LOCK (struct drm_crtc)->mutex
TYPE_LOCK (struct drm_plane)->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_resume_helper() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 bo->tbo.base.resv
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu

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

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.base.resv 4096-ptr_max
PARAM_VALUE 0 bo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max
CAPPED_DATA 0 bo->tbo.base.resv->fences 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_kiq_kcq_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c gmc_v7_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx10_kiq_map_queues() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_reset_kgq() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
LOCK2 &kiq->ring_lock
LOCK2 flags
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_kiq)->ring_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_mqd_info_read() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 bo->tbo.base.resv
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c gmc_v11_0_gart_enable() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_enc_get_create_msg() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &m->lock

drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_enc_get_destroy_msg() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
DATA_SOURCE 0 bo $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &m->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c amdgpu_mes_map_legacy_queue() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c amdgpu_mes_reset_legacy_queue() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c add_queue_mes() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->reset_domain->sem
LOCK2 &dqm->lock_hidden
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct amdgpu_reset_domain)->sem
TYPE_LOCK (struct device_queue_manager)->lock_hidden

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c dqm_repin_mqd_bo() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tbo.resource 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_set_resources() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
DATA_SOURCE 0 bo $1

drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_set_resources() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
DATA_SOURCE 0 bo $2

drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_set_resources() -> amdgpu_bo_gpu_offset()

Type Parameter Key Value
PARAM_VALUE 0 bo 1-u64max
DATA_SOURCE 0 bo $3