Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_map_buffer() -> amdgpu_compute_gart_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmc | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-1 |
| DATA_SOURCE | 1 | entity | $0 |
| DATA_SOURCE | 2 | index | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &entity->lock | |
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_gart_map() -> amdgpu_compute_gart_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmc | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| BUF_SIZE | 1 | entity | 5568 |
| BUF_SIZE | 1 | entity | 5568 |
| DATA_SOURCE | 1 | entity | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &prange->migrate_mutex | ||
| LOCK2 | 1 | &entity->lock | |
| 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 |