| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_reset.c | 58 struct amdgpu_reset_context *reset_context) in amdgpu_reset_xgmi_reset_on_init_prep_hwctxt() argument 79 struct amdgpu_reset_context *reset_context) in amdgpu_reset_xgmi_reset_on_init_restore_hwctxt() argument 85 r = amdgpu_device_reinit_after_reset(reset_context); in amdgpu_reset_xgmi_reset_on_init_restore_hwctxt() 101 struct amdgpu_reset_context *reset_context) in amdgpu_reset_xgmi_reset_on_init_perform_reset() argument 148 struct amdgpu_reset_context *reset_context) in amdgpu_reset_do_xgmi_reset_on_init() argument 164 r = amdgpu_reset_perform_reset(adev, reset_context); in amdgpu_reset_do_xgmi_reset_on_init() 228 struct amdgpu_reset_context *reset_context) in amdgpu_reset_prepare_hwcontext() argument 234 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext() 239 reset_context); in amdgpu_reset_prepare_hwcontext() 250 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset() [all …]
|
| H A D | aldebaran.c | 47 struct amdgpu_reset_context *reset_context) in aldebaran_get_reset_handler() argument 53 if (reset_context->method == AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler() 55 reset_context->method = AMD_RESET_METHOD_MODE2; in aldebaran_get_reset_handler() 60 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler() 62 reset_context->method); in aldebaran_get_reset_handler() 98 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument 138 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument 151 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset() 315 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument 327 reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext() [all …]
|
| H A D | amdgpu_reset.h | 107 struct amdgpu_reset_context *reset_context); 110 struct amdgpu_reset_context *reset_context); 113 struct amdgpu_reset_context *reset_context); 115 struct amdgpu_reset_context *reset_context); 159 struct amdgpu_reset_context *reset_context);
|
| H A D | mxgpu_ai.c | 284 struct amdgpu_reset_context reset_context; in xgpu_ai_mailbox_flr_work() local 285 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_ai_mailbox_flr_work() 287 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_ai_mailbox_flr_work() 288 reset_context.reset_req_dev = adev; in xgpu_ai_mailbox_flr_work() 289 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_ai_mailbox_flr_work() 290 set_bit(AMDGPU_HOST_FLR, &reset_context.flags); in xgpu_ai_mailbox_flr_work() 292 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_ai_mailbox_flr_work()
|
| H A D | mxgpu_nv.c | 333 struct amdgpu_reset_context reset_context; in xgpu_nv_mailbox_flr_work() local 334 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_nv_mailbox_flr_work() 336 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_nv_mailbox_flr_work() 337 reset_context.reset_req_dev = adev; in xgpu_nv_mailbox_flr_work() 338 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_nv_mailbox_flr_work() 339 set_bit(AMDGPU_HOST_FLR, &reset_context.flags); in xgpu_nv_mailbox_flr_work() 341 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_nv_mailbox_flr_work()
|
| H A D | sienna_cichlid.c | 48 struct amdgpu_reset_context *reset_context) in sienna_cichlid_get_reset_handler() argument 53 if (reset_context->method != AMD_RESET_METHOD_NONE) { in sienna_cichlid_get_reset_handler() 55 if (handler->reset_method == reset_context->method) in sienna_cichlid_get_reset_handler() 94 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_prepare_hwcontext() argument 136 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_perform_reset() argument 218 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_restore_hwcontext() argument
|
| H A D | smu_v13_0_10.c | 43 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_get_reset_handler() argument 49 if (reset_context->method != AMD_RESET_METHOD_NONE) { in smu_v13_0_10_get_reset_handler() 51 if (handler->reset_method == reset_context->method) in smu_v13_0_10_get_reset_handler() 93 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_prepare_hwcontext() argument 127 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_perform_reset() argument 219 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_restore_hwcontext() argument
|
| 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 | 177 struct amdgpu_reset_context reset_context; in amdgpu_job_timedout() local 178 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_job_timedout() 180 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_job_timedout() 181 reset_context.reset_req_dev = adev; in amdgpu_job_timedout() 182 reset_context.src = AMDGPU_RESET_SRC_JOB; in amdgpu_job_timedout() 183 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_job_timedout() 189 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_job_timedout() 191 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() 268 struct amdgpu_reset_context *reset_context) in amdgpu_amdkfd_pre_reset() argument 273 r = kgd2kfd_pre_reset(adev->kfd.dev, reset_context); in amdgpu_amdkfd_pre_reset()
|
| H A D | amdgpu_fence.c | 975 struct amdgpu_reset_context reset_context; in amdgpu_debugfs_reset_work() local 977 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_debugfs_reset_work() 979 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_debugfs_reset_work() 980 reset_context.reset_req_dev = adev; in amdgpu_debugfs_reset_work() 981 reset_context.src = AMDGPU_RESET_SRC_USER; in amdgpu_debugfs_reset_work() 982 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_debugfs_reset_work() 983 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_debugfs_reset_work() 985 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_debugfs_reset_work()
|
| H A D | amdgpu_device.c | 5514 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset() 5515 job = reset_context->job; in amdgpu_device_pre_asic_reset() 5583 &reset_context->flags); in amdgpu_device_pre_asic_reset() 5667 if (!reset_context->hive && in amdgpu_device_reinit_after_reset() 5696 if (reset_context->hive && in amdgpu_device_reinit_after_reset() 5699 reset_context->hive, tmp_adev); in amdgpu_device_reinit_after_reset() 5959 reset_context->src); in amdgpu_device_gpu_recover() 5987 reset_context->job = job; in amdgpu_device_gpu_recover() 5988 reset_context->hive = hive; in amdgpu_device_gpu_recover() 6664 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_pci_slot_reset() [all …]
|
| H A D | amdgpu_amdkfd.h | 176 struct amdgpu_reset_context *reset_context); 417 struct amdgpu_reset_context *reset_context); 467 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset() argument
|
| H A D | amdgpu_xgmi.c | 1618 struct amdgpu_reset_context reset_context; in amdgpu_xgmi_reset_on_init_work() local 1633 reset_context.method = AMD_RESET_METHOD_ON_INIT; in amdgpu_xgmi_reset_on_init_work() 1634 reset_context.reset_req_dev = tmp_adev; in amdgpu_xgmi_reset_on_init_work() 1635 reset_context.hive = hive; in amdgpu_xgmi_reset_on_init_work() 1636 reset_context.reset_device_list = &device_list; in amdgpu_xgmi_reset_on_init_work() 1637 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_xgmi_reset_on_init_work() 1638 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_xgmi_reset_on_init_work() 1640 amdgpu_reset_do_xgmi_reset_on_init(&reset_context); in amdgpu_xgmi_reset_on_init_work()
|
| H A D | amdgpu_ras.c | 2673 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery() local 2674 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery() 2676 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery() 2677 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery() 2678 reset_context.src = AMDGPU_RESET_SRC_RAS; in amdgpu_ras_do_recovery() 2679 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_ras_do_recovery() 2683 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2685 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2689 reset_context.method = AMD_RESET_METHOD_MODE2; in amdgpu_ras_do_recovery() 2697 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() [all …]
|
| H A D | amdgpu.h | 1303 struct amdgpu_reset_context *reset_context); 1306 struct amdgpu_reset_context *reset_context); 1308 int amdgpu_device_reinit_after_reset(struct amdgpu_reset_context *reset_context); 1452 struct amdgpu_reset_context *reset_context);
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_smi_events.c | 220 struct amdgpu_reset_context *reset_context) in kfd_smi_event_update_gpu_reset() argument 234 if (reset_context) in kfd_smi_event_update_gpu_reset() 235 amdgpu_reset_get_desc(reset_context, reset_cause, in kfd_smi_event_update_gpu_reset()
|
| H A D | kfd_smi_events.h | 34 struct amdgpu_reset_context *reset_context);
|
| H A D | kfd_device.c | 966 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset() argument 976 kfd_smi_event_update_gpu_reset(node, false, reset_context); in kgd2kfd_pre_reset()
|
| /linux-6.15/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 | 1898 adapter->ahw->reset_context = 0; in __qlcnic_up() 3036 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout() 3673 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()
|
| H A D | qlcnic.h | 484 u8 reset_context; member
|