| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | mxgpu_vi.c | 520 struct amdgpu_reset_context reset_context; in xgpu_vi_mailbox_flr_work() local 521 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_vi_mailbox_flr_work() 523 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_vi_mailbox_flr_work() 524 reset_context.reset_req_dev = adev; in xgpu_vi_mailbox_flr_work() 525 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_vi_mailbox_flr_work() 526 set_bit(AMDGPU_HOST_FLR, &reset_context.flags); in xgpu_vi_mailbox_flr_work() 528 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_vi_mailbox_flr_work()
|
| H A D | amdgpu_job.c | 153 struct amdgpu_reset_context reset_context; in amdgpu_job_timedout() local 154 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_job_timedout() 156 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_job_timedout() 157 reset_context.reset_req_dev = adev; in amdgpu_job_timedout() 158 reset_context.src = AMDGPU_RESET_SRC_JOB; in amdgpu_job_timedout() 159 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_job_timedout() 165 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_job_timedout() 167 r = amdgpu_device_gpu_recover(ring->adev, job, &reset_context); in amdgpu_job_timedout()
|
| H A D | amdgpu_amdkfd.c | 130 struct amdgpu_reset_context reset_context; in amdgpu_amdkfd_reset_work() local 132 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_amdkfd_reset_work() 134 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_amdkfd_reset_work() 135 reset_context.reset_req_dev = adev; in amdgpu_amdkfd_reset_work() 136 reset_context.src = adev->enable_mes ? in amdgpu_amdkfd_reset_work() 139 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_amdkfd_reset_work() 141 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_amdkfd_reset_work() 292 struct amdgpu_reset_context *reset_context) in amdgpu_amdkfd_pre_reset() argument 297 r = kgd2kfd_pre_reset(adev->kfd.dev, reset_context); in amdgpu_amdkfd_pre_reset()
|
| H A D | amdgpu_fence.c | 970 struct amdgpu_reset_context reset_context; in amdgpu_debugfs_reset_work() local 972 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_debugfs_reset_work() 974 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_debugfs_reset_work() 975 reset_context.reset_req_dev = adev; in amdgpu_debugfs_reset_work() 976 reset_context.src = AMDGPU_RESET_SRC_USER; in amdgpu_debugfs_reset_work() 977 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_debugfs_reset_work() 978 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_debugfs_reset_work() 980 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_debugfs_reset_work()
|
| H A D | amdgpu_device.c | 5697 struct amdgpu_reset_context *reset_context) in amdgpu_device_reset_sriov() argument 5702 if (test_bit(AMDGPU_HOST_FLR, &reset_context->flags)) { in amdgpu_device_reset_sriov() 5706 clear_bit(AMDGPU_HOST_FLR, &reset_context->flags); in amdgpu_device_reset_sriov() 5933 struct amdgpu_reset_context *reset_context) in amdgpu_device_pre_asic_reset() argument 5937 struct amdgpu_device *tmp_adev = reset_context->reset_req_dev; in amdgpu_device_pre_asic_reset() 5939 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset() 5941 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset() 5942 job = reset_context->job; in amdgpu_device_pre_asic_reset() 5965 r = amdgpu_reset_prepare_hwcontext(adev, reset_context); in amdgpu_device_pre_asic_reset() 5989 if (!test_bit(AMDGPU_SKIP_COREDUMP, &reset_context->flags)) { in amdgpu_device_pre_asic_reset() [all …]
|
| H A D | amdgpu_userq.c | 1201 struct amdgpu_reset_context reset_context; in amdgpu_userq_reset_work() local 1203 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_userq_reset_work() 1205 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_userq_reset_work() 1206 reset_context.reset_req_dev = adev; in amdgpu_userq_reset_work() 1207 reset_context.src = AMDGPU_RESET_SRC_USERQ; in amdgpu_userq_reset_work() 1208 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_userq_reset_work() 1211 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_userq_reset_work()
|
| H A D | amdgpu.h | 1424 struct amdgpu_reset_context *reset_context); 1427 struct amdgpu_reset_context *reset_context); 1429 int amdgpu_device_reinit_after_reset(struct amdgpu_reset_context *reset_context); 1568 struct amdgpu_reset_context *reset_context);
|
| H A D | amdgpu_ras.c | 2937 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery() local 2938 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery() 2940 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery() 2941 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery() 2942 reset_context.src = AMDGPU_RESET_SRC_RAS; in amdgpu_ras_do_recovery() 2943 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_ras_do_recovery() 2947 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2949 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2953 reset_context.method = AMD_RESET_METHOD_MODE2; in amdgpu_ras_do_recovery() 2961 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() [all …]
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_smi_events.c | 219 struct amdgpu_reset_context *reset_context) in kfd_smi_event_update_gpu_reset() argument 233 if (reset_context) in kfd_smi_event_update_gpu_reset() 234 amdgpu_reset_get_desc(reset_context, reset_cause, in kfd_smi_event_update_gpu_reset()
|
| H A D | kfd_device.c | 962 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset() argument 972 kfd_smi_event_update_gpu_reset(node, false, reset_context); in kgd2kfd_pre_reset()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sriov_common.c | 627 ahw->reset_context = 0; in qlcnic_sriov_vf_init() 1441 ahw->reset_context = 1; in __qlcnic_sriov_issue_cmd() 1740 ahw->reset_context = 0; in qlcnic_sriov_vf_detach() 1838 else if (ahw->reset_context) in qlcnic_sriov_vf_idc_ready_state()
|
| H A D | qlcnic_83xx_init.c | 658 ahw->reset_context = 0; in qlcnic_83xx_idc_update_idc_params() 868 if (ahw->reset_context && in qlcnic_83xx_idc_ready_state() 870 adapter->ahw->reset_context = 0; in qlcnic_83xx_idc_ready_state()
|
| H A D | qlcnic_main.c | 1897 adapter->ahw->reset_context = 0; in __qlcnic_up() 3035 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout() 3672 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()
|
| H A D | qlcnic.h | 484 u8 reset_context; member
|