/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
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() 57 reset_context->method = amdgpu_asic_reset_method(adev); 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() 64 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler() 105 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument 145 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument 148 struct list_head *reset_device_list = reset_context->reset_device_list; in aldebaran_mode2_perform_reset() [all …]
|
D | amdgpu_reset.c | 76 struct amdgpu_reset_context *reset_context) in amdgpu_reset_prepare_hwcontext() argument 82 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext() 87 reset_context); in amdgpu_reset_prepare_hwcontext() 91 struct amdgpu_reset_context *reset_context) in amdgpu_reset_perform_reset() argument 98 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset() 102 ret = reset_handler->perform_reset(adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset() 107 reset_context); in amdgpu_reset_perform_reset()
|
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()
|
D | mxgpu_nv.c | 324 struct amdgpu_reset_context reset_context; in xgpu_nv_mailbox_flr_work() local 325 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_nv_mailbox_flr_work() 327 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_nv_mailbox_flr_work() 328 reset_context.reset_req_dev = adev; in xgpu_nv_mailbox_flr_work() 329 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_nv_mailbox_flr_work() 330 set_bit(AMDGPU_HOST_FLR, &reset_context.flags); in xgpu_nv_mailbox_flr_work() 332 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_nv_mailbox_flr_work()
|
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);
|
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()
|
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() 99 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_prepare_hwcontext() argument 133 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_perform_reset() argument 231 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_restore_hwcontext() argument
|
D | amdgpu_job.c | 158 struct amdgpu_reset_context reset_context; in amdgpu_job_timedout() local 159 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_job_timedout() 161 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_job_timedout() 162 reset_context.reset_req_dev = adev; in amdgpu_job_timedout() 163 reset_context.src = AMDGPU_RESET_SRC_JOB; in amdgpu_job_timedout() 164 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_job_timedout() 170 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_job_timedout() 172 r = amdgpu_device_gpu_recover(ring->adev, job, &reset_context); in amdgpu_job_timedout()
|
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() 100 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_prepare_hwcontext() argument 142 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_perform_reset() argument 236 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_restore_hwcontext() argument
|
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()
|
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()
|
D | amdgpu_device.c | 5039 struct amdgpu_reset_context *reset_context) in amdgpu_device_reset_sriov() argument 5044 if (test_bit(AMDGPU_HOST_FLR, &reset_context->flags)) { in amdgpu_device_reset_sriov() 5048 clear_bit(AMDGPU_HOST_FLR, &reset_context->flags); in amdgpu_device_reset_sriov() 5245 struct amdgpu_reset_context *reset_context) in amdgpu_device_pre_asic_reset() argument 5249 struct amdgpu_device *tmp_adev = reset_context->reset_req_dev; in amdgpu_device_pre_asic_reset() 5251 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset() 5253 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset() 5254 job = reset_context->job; in amdgpu_device_pre_asic_reset() 5282 r = amdgpu_reset_prepare_hwcontext(adev, reset_context); in amdgpu_device_pre_asic_reset() 5306 if (!test_bit(AMDGPU_SKIP_COREDUMP, &reset_context->flags)) { in amdgpu_device_pre_asic_reset() [all …]
|
D | amdgpu_amdkfd.h | 175 struct amdgpu_reset_context *reset_context); 422 struct amdgpu_reset_context *reset_context); 468 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset() argument
|
D | amdgpu_drv.c | 2485 struct amdgpu_reset_context reset_context; in amdgpu_drv_delayed_reset_work_handler() local 2487 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_drv_delayed_reset_work_handler() 2498 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_drv_delayed_reset_work_handler() 2499 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler() 2503 reset_context.reset_req_dev = adev; in amdgpu_drv_delayed_reset_work_handler() 2504 r = amdgpu_device_pre_asic_reset(adev, &reset_context); in amdgpu_drv_delayed_reset_work_handler() 2532 set_bit(AMDGPU_SKIP_HW_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler() 2533 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler() 2534 r = amdgpu_do_asic_reset(&device_list, &reset_context); in amdgpu_drv_delayed_reset_work_handler()
|
D | amdgpu_ras.c | 2602 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery() local 2603 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery() 2605 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery() 2606 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery() 2607 reset_context.src = AMDGPU_RESET_SRC_RAS; in amdgpu_ras_do_recovery() 2611 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2613 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2617 reset_context.method = AMD_RESET_METHOD_MODE2; in amdgpu_ras_do_recovery() 2625 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2631 amdgpu_device_gpu_recover(ras->adev, NULL, &reset_context); in amdgpu_ras_do_recovery()
|
D | amdgpu.h | 1259 struct amdgpu_reset_context *reset_context); 1262 struct amdgpu_reset_context *reset_context); 1406 struct amdgpu_reset_context *reset_context);
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
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()
|
D | kfd_smi_events.h | 34 struct amdgpu_reset_context *reset_context);
|
D | kfd_device.c | 936 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset() argument 946 kfd_smi_event_update_gpu_reset(node, false, reset_context); in kgd2kfd_pre_reset()
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 625 ahw->reset_context = 0; in qlcnic_sriov_vf_init() 1439 ahw->reset_context = 1; in __qlcnic_sriov_issue_cmd() 1735 ahw->reset_context = 0; in qlcnic_sriov_vf_detach() 1833 else if (ahw->reset_context) in qlcnic_sriov_vf_idc_ready_state()
|
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()
|
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()
|
D | qlcnic.h | 484 u8 reset_context; member
|