Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 5412
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c, line 515
- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c, line 1380
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c amdgpu_device_ip_soft_reset() -> amdgpu_device_unlock_reset_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | reset_domain->in_gpu_reset.counter | 1 |
| PARAM_VALUE | 0 | reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | reset_domain->sem.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| LOCK2 | 0 | &reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_reset_on_init_work() -> amdgpu_device_unlock_reset_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | reset_domain->in_gpu_reset.counter | 1 |
| PARAM_VALUE | 0 | reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | reset_domain->sem.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_freeze() -> amdgpu_device_unlock_reset_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | reset_domain->in_gpu_reset.counter | 1 |
| PARAM_VALUE | 0 | reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | reset_domain->sem.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &reset_domain->sem | |
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_suspend_noirq() -> amdgpu_device_unlock_reset_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | reset_domain->in_gpu_reset.counter | 1 |
| PARAM_VALUE | 0 | reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | reset_domain->sem.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &reset_domain->sem | |
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_recovery_put_reset_lock() -> amdgpu_device_unlock_reset_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock |