Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c send_load_ta_fw_cmd() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
PARAM_VALUE 1 gpu_mem 1-u64max
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 gpu_mem r ras_psp_get_gpu_mem
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c send_load_ta_fw_cmd() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 gpu_mem r ras_psp_get_gpu_mem
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c send_psp_cmd() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->first_waiter->task->blocked_on 0
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->osq.tail.counter 0-s32max
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.owner (-1)
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.owner_cpu 4294967295
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.first_waiter->task->blocked_on 0
CAPPED_DATA 0 ras_core->ras_psp.psp_ctx.external_mutex 1
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 gpu_mem r ras_psp_get_gpu_mem
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c send_psp_cmd() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->first_waiter->task->blocked_on 0
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->osq.tail.counter 0-s32max
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.owner (-1)
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.external_mutex->wait_lock.owner_cpu 4294967295
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->ras_psp.psp_ctx.internal_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 gpu_mem 0,4096-ptr_max
PARAM_VALUE 1 gpu_mem->mem_cpu_addr 4096-ptr_max
CAPPED_DATA 0 ras_core->ras_psp.psp_ctx.external_mutex 1
DATA_SOURCE 0 ras_core $0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c send_ras_ta_runtime_cmd() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 0 ras_core->dev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ras_core->dev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ras_core->ras_psp.ta_ctx.ta_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ras_core->sys_fn 0,4096-ptr_max
PARAM_VALUE 1 gpu_mem 1-u64max
PARAM_VALUE 1 gpu_mem->mem_cpu_addr 4096-ptr_max
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 gpu_mem r ras_psp_get_gpu_mem
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../ras/core/ras_psp.c write_frame_to_ras_psp_ring() -> ras_psp_put_gpu_mem()

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.dep_map->name 0-255
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 ras_core->dev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ras_core->dev->mes.saved_flags 0-4294967295
PARAM_VALUE 0 ras_core->dev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 ras_core->dev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ras_core->dev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ras_core->ras_psp.ip_func 4096-ptr_max
PARAM_VALUE 0 ras_core->ras_psp.ip_func->psp_ras_ring_wptr_get 4096-ptr_max
PARAM_VALUE 0 ras_core->ras_psp.ip_func->psp_ras_ring_wptr_set 4096-ptr_max
PARAM_VALUE 0 *ras_core->dev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 gpu_mem 4096-ptr_max
PARAM_VALUE 1 gpu_mem->mem_cpu_addr 4096-ptr_max
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 gpu_mem r ras_psp_get_gpu_mem
NOCHECK_CALL