Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 2109
- drivers/gpu/drm/drm_gem_vram_helper.c, line 857
- drivers/gpu/drm/i915/intel_region_ttm.c, line 35
- drivers/gpu/drm/loongson/lsdc_ttm.c, line 546
- drivers/gpu/drm/nouveau/nouveau_ttm.c, line 310
- drivers/gpu/drm/qxl/qxl_ttm.c, line 197
- drivers/gpu/drm/radeon/radeon_ttm.c, line 683
- drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c, line 126
- drivers/gpu/drm/ttm/ttm_device.c, line 249
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c, line 1022
- drivers/gpu/drm/xe/xe_device.c, line 537
Smatch caller information:
drivers/gpu/drm/xe/xe_device.c xe_device_init_early() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 5600756705933246464 |
| PARAM_VALUE | 5 | alloc_flags | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 3767798920864346112 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->bus_dma_limit | 1-u64max |
| PARAM_VALUE | 2 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->dma_parms->max_segment_size | u32max |
| PARAM_VALUE | 2 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 5 | alloc_flags | 9,265,521,777 |
| BIT_INFO | 5 | alloc_flags | 0x9,0x3ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
drivers/gpu/drm/i915/intel_region_ttm.c intel_region_ttm_device_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 3015360794895851520 |
| PARAM_VALUE | 5 | alloc_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_driver_load() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 4484982198590341120 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->dma_parms->max_segment_size | u32max |
| PARAM_VALUE | 5 | alloc_flags | 0,256 |
| FUZZY_MAX | 5 | alloc_flags | 256 |
| BIT_INFO | 5 | alloc_flags | 0x0,0x100 |
| HARD_MAX | 5 | alloc_flags | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 5119565721379532800 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 5 | alloc_flags | 0,256,512,768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
drivers/gpu/drm/drm_gem_vram_helper.c drm_vram_mm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 7183050988403793920 |
| PARAM_VALUE | 5 | alloc_flags | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/qxl/qxl_ttm.c qxl_ttm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 3371042255368880128 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 5 | alloc_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 8216223117295480832 |
| PARAM_VALUE | 2 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 5 | alloc_flags | 0,256,512,768 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c ttm_device_kunit_init_with_funcs() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 16,4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 1841176120589443072,3832532328000647168 |
| BUF_SIZE | 0 | bdev | (-1),5760 |
| BUF_SIZE | 0 | bdev | (-1),5760 |
| DATA_SOURCE | 0 | bdev | $1 |
| DATA_SOURCE | 1 | funcs | $3 |
| DATA_SOURCE | 5 | alloc_flags | $2 |
| UNITS | 2 | dev | unit_byte |
drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_ttm_init() -> ttm_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | funcs | 683311044193787904 |
| PARAM_VALUE | 5 | alloc_flags | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |