/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | aldebaran.c | 47 struct amdgpu_reset_context *reset_context) in aldebaran_get_reset_handler() argument 52 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler() 54 reset_context->method); in aldebaran_get_reset_handler() 57 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler() 66 reset_context->method = AMD_RESET_METHOD_MODE2; in aldebaran_get_reset_handler() 108 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument 148 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument 161 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset() 332 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument 343 reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext() [all …]
|
A D | amdgpu_reset.c | 80 struct amdgpu_reset_context *reset_context) in amdgpu_reset_prepare_hwcontext() argument 86 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext() 91 reset_context); in amdgpu_reset_prepare_hwcontext() 95 struct amdgpu_reset_context *reset_context) in amdgpu_reset_perform_reset() argument 102 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset() 106 ret = reset_handler->perform_reset(adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset() 111 reset_context); in amdgpu_reset_perform_reset()
|
A D | mxgpu_nv.c | 314 struct amdgpu_reset_context reset_context; in xgpu_nv_mailbox_flr_work() local 315 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_nv_mailbox_flr_work() 317 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_nv_mailbox_flr_work() 318 reset_context.reset_req_dev = adev; in xgpu_nv_mailbox_flr_work() 319 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_nv_mailbox_flr_work() 321 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_nv_mailbox_flr_work()
|
A D | mxgpu_ai.c | 287 struct amdgpu_reset_context reset_context; in xgpu_ai_mailbox_flr_work() local 288 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_ai_mailbox_flr_work() 290 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_ai_mailbox_flr_work() 291 reset_context.reset_req_dev = adev; in xgpu_ai_mailbox_flr_work() 292 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_ai_mailbox_flr_work() 294 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_ai_mailbox_flr_work()
|
A D | smu_v13_0_10.c | 43 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_get_reset_handler() argument 48 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() 100 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_prepare_hwcontext() argument 134 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_perform_reset() argument 232 struct amdgpu_reset_context *reset_context) in smu_v13_0_10_mode2_restore_hwcontext() argument
|
A D | sienna_cichlid.c | 48 struct amdgpu_reset_context *reset_context) in sienna_cichlid_get_reset_handler() argument 52 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() 101 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_prepare_hwcontext() argument 143 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_perform_reset() argument 237 struct amdgpu_reset_context *reset_context) in sienna_cichlid_mode2_restore_hwcontext() argument
|
A D | amdgpu_job.c | 69 struct amdgpu_reset_context reset_context; in amdgpu_job_timedout() local 70 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_job_timedout() 72 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_job_timedout() 73 reset_context.reset_req_dev = adev; in amdgpu_job_timedout() 74 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_job_timedout() 76 r = amdgpu_device_gpu_recover(ring->adev, job, &reset_context); in amdgpu_job_timedout()
|
A D | mxgpu_vi.c | 526 struct amdgpu_reset_context reset_context; in xgpu_vi_mailbox_flr_work() local 527 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_vi_mailbox_flr_work() 529 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_vi_mailbox_flr_work() 530 reset_context.reset_req_dev = adev; in xgpu_vi_mailbox_flr_work() 531 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_vi_mailbox_flr_work() 533 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_vi_mailbox_flr_work()
|
A D | amdgpu_drv.c | 2271 struct amdgpu_reset_context reset_context; in amdgpu_pci_remove() local 2274 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_pci_remove() 2275 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_pci_remove() 2276 reset_context.reset_req_dev = adev; in amdgpu_pci_remove() 2324 struct amdgpu_reset_context reset_context; in amdgpu_drv_delayed_reset_work_handler() local 2326 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_drv_delayed_reset_work_handler() 2337 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_drv_delayed_reset_work_handler() 2338 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler() 2342 reset_context.reset_req_dev = adev; in amdgpu_drv_delayed_reset_work_handler() 2371 set_bit(AMDGPU_SKIP_HW_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler() [all …]
|
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 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_amdkfd_reset_work() 138 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_amdkfd_reset_work()
|
A D | amdgpu_fence.c | 906 struct amdgpu_reset_context reset_context; in amdgpu_debugfs_reset_work() local 907 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_debugfs_reset_work() 909 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_debugfs_reset_work() 910 reset_context.reset_req_dev = adev; in amdgpu_debugfs_reset_work() 911 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_debugfs_reset_work() 913 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_debugfs_reset_work()
|
A D | amdgpu_reset.h | 95 struct amdgpu_reset_context *reset_context); 98 struct amdgpu_reset_context *reset_context);
|
A D | amdgpu_device.c | 4708 job = reset_context->job; in amdgpu_device_pre_asic_reset() 4767 &reset_context->flags); in amdgpu_device_pre_asic_reset() 4948 if (reset_context->job && reset_context->job->vm) in amdgpu_do_asic_reset() 4950 reset_context->job->vm->task_info; in amdgpu_do_asic_reset() 4975 if (!reset_context->hive && in amdgpu_do_asic_reset() 5004 if (reset_context->hive && in amdgpu_do_asic_reset() 5007 reset_context->hive, tmp_adev); in amdgpu_do_asic_reset() 5193 reset_context->job = job; in amdgpu_device_gpu_recover() 5194 reset_context->hive = hive; in amdgpu_device_gpu_recover() 5715 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_pci_slot_reset() [all …]
|
A D | amdgpu_ras.c | 2001 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery() local 2002 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery() 2004 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery() 2005 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery() 2009 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2011 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery() 2013 amdgpu_device_gpu_recover(ras->adev, NULL, &reset_context); in amdgpu_ras_do_recovery()
|
A D | amdgpu.h | 1134 struct amdgpu_reset_context *reset_context); 1137 struct amdgpu_reset_context *reset_context); 1270 struct amdgpu_reset_context *reset_context);
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/ |
A 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()
|
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()
|
A D | qlcnic_main.c | 1899 adapter->ahw->reset_context = 0; in __qlcnic_up() 3040 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout() 3677 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()
|
A D | qlcnic.h | 484 u8 reset_context; member
|