Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_end() -> etnaviv_buffer_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpu | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd_dwords | 7,17 |
| BUF_SIZE | 0 | gpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpu | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | 32 |
| DATA_SOURCE | 0 | gpu | $0 |
| FUZZY_MAX | 2 | cmd_dwords | 7 |
| PARAM_COMPARE | 0 | &gpu->buffer | == $1 |
| BIT_INFO | 0 | gpu->exec_state | 0x0,0x7fffffff |
| UNITS | 0 | gpu | unit_byte |
| LOCK2 | 0 | &gpu->lock | |
| TYPE_LOCK | (struct etnaviv_gpu)->lock |
drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_queue() -> etnaviv_buffer_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpu | 4096-ptr_max |
| PARAM_VALUE | 0 | gpu->mmu_context | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd_dwords | 2-9 |
| BUF_SIZE | 1 | buffer | 32 |
| CAPPED_DATA | 0 | gpu->mmu_context | 1 |
| DATA_SOURCE | 0 | gpu | $0 |
| PARAM_COMPARE | 0 | &gpu->buffer | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &gpu->lock | |
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| TYPE_LOCK | (struct etnaviv_gpu)->lock |
drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_queue() -> etnaviv_buffer_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpu | 4096-ptr_max |
| PARAM_VALUE | 0 | gpu->mmu_context | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd_dwords | 7,13 |
| BUF_SIZE | 1 | buffer | 32 |
| DATA_SOURCE | 0 | gpu | $0 |
| FUZZY_MAX | 2 | cmd_dwords | 7 |
| PARAM_COMPARE | 0 | &gpu->buffer | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &gpu->lock | |
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| TYPE_LOCK | (struct etnaviv_gpu)->lock |
drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_sync_point_queue() -> etnaviv_buffer_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpu | 4096-ptr_max |
| PARAM_VALUE | 0 | gpu->mmu_context | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd_dwords | 4 |
| BUF_SIZE | 1 | buffer | 32 |
| DATA_SOURCE | 0 | gpu | $0 |
| PARAM_COMPARE | 0 | &gpu->buffer | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &gpu->lock | |
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| TYPE_LOCK | (struct etnaviv_gpu)->lock |