Documented in 1 files:
Defined in 1 files as a prototype:
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_gart_map_vram_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gart.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gart.bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs->copy_max_bytes | 1048568,2097151,4194272,4194304,1073741824 |
| PARAM_VALUE | 2 | start_page | 0 |
| PARAM_VALUE | 3 | num_pages | 0-1024 |
| PARAM_VALUE | 4 | flags | 0,8-u64max |
| PARAM_VALUE | 5 | dst | 4096-ptr_max |
| CAPPED_DATA | 3 | num_pages | 1 |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| BIT_INFO | 4 | flags | 0x20,0xffffffffffffffff |
| BIT_INFO | 4 | flags | 0x20,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | num_pages | 0-1023[c] |
| UNITS | 1 | pa | unit_byte |
| UNITS | 3 | num_pages | unit_page |
| LOCK2 | &entity->lock | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c vce_v1_0_ensure_vcpu_bo_32bit_addr() -> amdgpu_gart_map_vram_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_type | 0-2 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->vce.fw | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vce.fw->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vce.fw->data->ucode_size_bytes | 0-261896 |
| PARAM_VALUE | 0 | adev->vce.vcpu_bo | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vce.vcpu_bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 3 | num_pages | 0-4503599627370495 |
| PARAM_VALUE | 4 | flags | 97 |
| CAPPED_DATA | 0 | adev->gmc.gart_start | 1 |
| CAPPED_DATA | 3 | num_pages | 1 |
| CAPPED_DATA | 3 | num_pages | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | pa | r amdgpu_gmc_vram_pa |
| PARAM_COMPARE | 0 | adev->gmc.gart_start | <= $0->gmc.vram_start |
| HARD_MAX | 0 | adev->vce.fw->data->ucode_size_bytes | 261896 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->vce.irq.num_types |