Searched refs:reset_context (Results 1 – 11 of 11) sorted by relevance
| /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 | 944 struct amdgpu_reset_context reset_context; in amdgpu_debugfs_reset_work() local 946 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_debugfs_reset_work() 948 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_debugfs_reset_work() 949 reset_context.reset_req_dev = adev; in amdgpu_debugfs_reset_work() 950 reset_context.src = AMDGPU_RESET_SRC_USER; in amdgpu_debugfs_reset_work() 951 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_debugfs_reset_work() 952 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_debugfs_reset_work() 954 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_debugfs_reset_work()
|
| 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 …]
|
| H A D | amdgpu.h | 1422 struct amdgpu_reset_context *reset_context); 1425 struct amdgpu_reset_context *reset_context); 1427 int amdgpu_device_reinit_after_reset(struct amdgpu_reset_context *reset_context); 1566 struct amdgpu_reset_context *reset_context);
|
| /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
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| 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()
|