Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c, line 84
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_get_fence() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_get_fence() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ring_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_dependencies() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_dependencies() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ring_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_parser_fini() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_wait_ioctl() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_wait_ioctl() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ring_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_alloc() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->init_priority | (-1023),(-512),0,512,1023 |
| PARAM_VALUE | 0 | ctx->mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->override_priority | (-2048) |
| PARAM_VALUE | 0 | ctx->preamble_presented | 0 |
| PARAM_VALUE | 0 | ctx->ras_counter_ce | 0 |
| PARAM_VALUE | 0 | ctx->ras_counter_ue | 0 |
| PARAM_VALUE | 0 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->stable_pstate | 0 |
| BUF_SIZE | 0 | ctx | 456 |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r _kmalloc_noprof |
| MEM_ZERO | 0 | ctx | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->init_priority | (-1023),(-512),0,512,1023[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_free() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ctx | r xa_erase |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_mgr_entity_flush() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_mgr_fini() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_query() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| BIT_INFO | 0 | ctx->reset_counter_query | 0x0,0x7fffffff |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_query2() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_stable_pstate() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mgr->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ctx->mgr->adev->reset_domain->sem.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ctx->mgr->adev->powerplay.pp_handle->backend->gfx_actual_soft_max_freq | 0-4294967295 |
| HOST_DATA | 0 | ctx->mgr->adev->powerplay.pp_handle->backend->gfx_actual_soft_min_freq | 0-4294967295 |
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c amdgpu_sched_context_priority_override() -> amdgpu_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->override_priority | (-1023),(-512),0,512,1023 |
| DATA_SOURCE | 0 | ctx | r amdgpu_ctx_get |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->override_priority | (-1023),(-512),0,512,1023[u] |