Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_copy_buffer() -> (struct amdgpu_buffer_funcs)->emit_copy_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| CAPPED_DATA | 3 | byte_count | 1 |
| DATA_SOURCE | 1 | src_offset | $2 |
| DATA_SOURCE | 2 | dst_offset | $3 |
| DATA_SOURCE | 4 | copy_flags | $8 |
| BIT_INFO | 4 | copy_flags | 0x0,0x7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | byte_count | 0-268435455[c] |
| HALF_LOCKED2 | &adev->benchmark_mutex | ||
| HALF_LOCKED2 | &adev->mman.default_entity.lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &entity->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_access_memory_sdma() -> (struct amdgpu_buffer_funcs)->emit_copy_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| PARAM_VALUE | 3 | byte_count | 4096 |
| PARAM_VALUE | 4 | copy_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> (struct amdgpu_buffer_funcs)->emit_copy_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| PARAM_VALUE | 3 | byte_count | 0-8192 |
| PARAM_VALUE | 4 | copy_flags | 0 |
| CAPPED_DATA | 3 | byte_count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | byte_count | 0-8184[c] |
| LOCK2 | &entity->lock | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_gart_map() -> (struct amdgpu_buffer_funcs)->emit_copy_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| PARAM_VALUE | 3 | byte_count | 8-8192 |
| PARAM_VALUE | 4 | copy_flags | 0 |
| CAPPED_DATA | 3 | byte_count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |