Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_freeze() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->flags 131072-u64max
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->reset_domain->sem
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_suspend_noirq() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->flags 131072-u64max
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->reset_domain->sem
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.noretry s32min-(-2),0-s32max
PARAM_VALUE 0 adev->gmc.xgmi.num_physical_nodes 0
BUF_SIZE 0 adev->dev (-1),1616
BUF_SIZE 0 adev->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 adev->reset_domain (-1),192
DATA_SOURCE 0 adev $0
BIT_INFO 0 adev->virt.caps 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->discovery.debugfs_blob.size 1-4000000
HOST_DATA 0 adev->discovery.offset 0-u64max
HOST_DATA 0 adev->discovery.size 1-u32max
HOST_DATA 0 adev->gmc.xgmi.node_segment_size 0,16777216-2199006478336[c]
HOST_DATA 0 adev->mman.gtt_mgr.mm.head_node.size 0-u64max
HOST_DATA 0 adev->psp.sos.fw_version 0-u32max
HOST_DATA 0 adev->virt.fw_reserve.checksum_key 0-u32max
HOST_DATA 0 adev->virt.init_data_header.offset 0-u32max
HOST_DATA 0 adev->virt.init_data_header.size_kb 0-u32max
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_fini_early() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->dev 4096-ptr_max
PARAM_VALUE 0 adev->discovery.ip_top 0,4096-ptr_max
PARAM_VALUE 0 adev->flags 262144-u64max
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->kfd.dev 0,4096-ptr_max
PARAM_VALUE 0 adev->nbio.funcs 0,4096-ptr_max
PARAM_VALUE 0 adev->num_ip_blocks s32min-(-1),1-s32max
PARAM_VALUE 0 adev->pdev 4096-ptr_max
PARAM_VALUE 0 adev->psp.ptl.ptl_sysfs_created 0
PARAM_VALUE 0 adev->rmmio 1-u64max
PARAM_VALUE 0 adev->shutdown 1
PARAM_VALUE 0 adev->uma_info.num_entries 0
PARAM_VALUE 0 adev->uma_info.update_lock.magic 0
PARAM_VALUE 0 adev->xcp_mgr 0,4096-ptr_max
CAPPED_DATA 0 adev 1
CAPPED_DATA 0 adev->num_ip_blocks 1
DATA_SOURCE 0 adev $0
BIT_INFO 0 adev->flags 0x20000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->gmc.visible_vram_size 0-4503599626321920[c]
HOST_DATA 0 adev->psp.sos.fw_version 0-u32max
HOST_DATA 0 adev->virt.fw_reserve.checksum_key 0-u32max
HOST_DATA 0 adev->virt.init_data_header.offset 0-u32max
HOST_DATA 0 adev->virt.init_data_header.size_kb 0-u32max

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_xgmi_reset_func() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.xgmi.hive_id 1-u64max
LOCK2 &hive->tb.enter_turnstile
LOCK2 &hive->tb.exit_turnstile
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct task_barrier)->enter_turnstile
TYPE_LOCK (struct task_barrier)->exit_turnstile

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_do_asic_reset() -> (struct amdgpu_asic_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.xgmi.num_physical_nodes 0-1
CAPPED_DATA 0 &adev->reset_list 1