Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_gpu_recover() -> amdgpu_device_recovery_prepare()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 1 device_list 6958129947341881344
PARAM_VALUE 1 device_list->next 6958129947341881344
PARAM_VALUE 1 device_list->prev 6958129947341881344
PARAM_VALUE 2 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 hive->hive_lock.wait_lock.owner (-1)
PARAM_VALUE 2 hive->hive_lock.wait_lock.owner_cpu u32max
BUF_SIZE 2 hive (-1)-0,848
BUF_SIZE 2 hive (-1)-0,848
DATA_SOURCE 0 adev $0
BIT_INFO 0 adev->virt.caps 0x0,0xffffffff
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 2 &hive->hive_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_pci_error_detected() -> amdgpu_device_recovery_prepare()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 adev->pdev 4096-ptr_max
PARAM_VALUE 0 adev->pdev->error_state 0-2,4-u32max
PARAM_VALUE 1 device_list 2602521966180487168
PARAM_VALUE 1 device_list->next 2602521966180487168
PARAM_VALUE 1 device_list->prev 2602521966180487168
PARAM_VALUE 2 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 hive->hive_lock.wait_lock.owner (-1)
PARAM_VALUE 2 hive->hive_lock.wait_lock.owner_cpu u32max
BUF_SIZE 2 hive (-1),848
BUF_SIZE 2 hive (-1),848
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 2 &hive->hive_lock