Home
last modified time | relevance | path

Searched refs:reset_context (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsienna_cichlid.c48 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 Dsmu_v13_0_10.c43 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 Dmxgpu_vi.c520 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 Damdgpu_device.c4868 * @reset_context: amdgpu reset context pointer in amdgpu_device_reset_sriov()
4874 struct amdgpu_reset_context *reset_context) in amdgpu_device_reset_sriov()
4879 if (test_bit(AMDGPU_HOST_FLR, &reset_context->flags)) { in amdgpu_device_reset_sriov()
4883 clear_bit(AMDGPU_HOST_FLR, &reset_context->flags); in amdgpu_device_reset_sriov()
5113 struct amdgpu_reset_context *reset_context) in amdgpu_device_pre_asic_reset()
5117 struct amdgpu_device *tmp_adev = reset_context->reset_req_dev; in amdgpu_device_pre_asic_reset()
5119 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset()
5122 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset()
5123 job = reset_context->job; in amdgpu_device_pre_asic_reset()
5146 r = amdgpu_reset_prepare_hwcontext(adev, reset_context); in amdgpu_device_pre_asic_reset()
4849 amdgpu_device_reset_sriov(struct amdgpu_device * adev,struct amdgpu_reset_context * reset_context) amdgpu_device_reset_sriov() argument
5088 amdgpu_device_pre_asic_reset(struct amdgpu_device * adev,struct amdgpu_reset_context * reset_context) amdgpu_device_pre_asic_reset() argument
5166 amdgpu_device_reinit_after_reset(struct amdgpu_reset_context * reset_context) amdgpu_device_reinit_after_reset() argument
5309 amdgpu_do_asic_reset(struct list_head * device_list_handle,struct amdgpu_reset_context * reset_context) amdgpu_do_asic_reset() argument
5555 amdgpu_device_halt_activities(struct amdgpu_device * adev,struct amdgpu_job * job,struct amdgpu_reset_context * reset_context,struct list_head * device_list,struct amdgpu_hive_info * hive,bool need_emergency_restart) amdgpu_device_halt_activities() argument
5618 amdgpu_device_asic_reset(struct amdgpu_device * adev,struct list_head * device_list,struct amdgpu_reset_context * reset_context) amdgpu_device_asic_reset() argument
5676 amdgpu_device_sched_resume(struct list_head * device_list,struct amdgpu_reset_context * reset_context,bool job_signaled) amdgpu_device_sched_resume() argument
5771 amdgpu_device_gpu_recover(struct amdgpu_device * adev,struct amdgpu_job * job,struct amdgpu_reset_context * reset_context) amdgpu_device_gpu_recover() argument
6268 struct amdgpu_reset_context reset_context; amdgpu_pci_error_detected() local
6354 struct amdgpu_reset_context reset_context; amdgpu_pci_slot_reset() local
[all...]
H A Damdgpu_amdkfd.c133 struct amdgpu_reset_context reset_context; in amdgpu_amdkfd_reset_work() local
135 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_amdkfd_reset_work()
137 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_amdkfd_reset_work()
138 reset_context.reset_req_dev = adev; in amdgpu_amdkfd_reset_work()
139 reset_context.src = adev->enable_mes ? in amdgpu_amdkfd_reset_work()
142 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_amdkfd_reset_work()
144 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_amdkfd_reset_work()
300 struct amdgpu_reset_context *reset_context) in amdgpu_amdkfd_pre_reset() argument
305 r = kgd2kfd_pre_reset(adev->kfd.dev, reset_context); in amdgpu_amdkfd_pre_reset()
H A Damdgpu_userq.c136 struct amdgpu_reset_context reset_context; in amdgpu_userq_mgr_reset_work() local
138 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_userq_mgr_reset_work()
140 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_userq_mgr_reset_work()
141 reset_context.reset_req_dev = adev; in amdgpu_userq_mgr_reset_work()
142 reset_context.src = AMDGPU_RESET_SRC_USERQ; in amdgpu_userq_mgr_reset_work()
143 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_userq_mgr_reset_work()
144 /*set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);*/ in amdgpu_userq_mgr_reset_work()
146 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_userq_mgr_reset_work()
H A Damdgpu_amdkfd.h186 struct amdgpu_reset_context *reset_context);
431 struct amdgpu_reset_context *reset_context);
496 struct amdgpu_reset_context *reset_context)
492 kgd2kfd_pre_reset(struct kfd_dev * kfd,struct amdgpu_reset_context * reset_context) kgd2kfd_pre_reset() argument
H A Damdgpu.h1234 struct amdgpu_reset_context *reset_context); in adev_to_drm()
1237 struct amdgpu_reset_context *reset_context); in amdgpu_ttm_adev()
1239 int amdgpu_device_reinit_after_reset(struct amdgpu_reset_context *reset_context); in amdgpu_ttm_adev()
1387 struct amdgpu_reset_context *reset_context);
H A Damdgpu_ras.c2966 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery()
2967 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery()
2969 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery()
2970 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery()
2971 reset_context.src = AMDGPU_RESET_SRC_RAS; in amdgpu_ras_do_recovery()
2972 set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); in amdgpu_ras_do_recovery()
2976 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery()
2978 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery()
2982 reset_context in amdgpu_ras_do_recovery()
2963 struct amdgpu_reset_context reset_context; amdgpu_ras_do_recovery() local
[all...]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c219 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 Dkfd_device.c990 struct amdgpu_reset_context *reset_context) in kgd2kfd_pre_reset()
1000 kfd_smi_event_update_gpu_reset(node, false, reset_context); in kgd2kfd_pre_reset()
983 kgd2kfd_pre_reset(struct kfd_dev * kfd,struct amdgpu_reset_context * reset_context) kgd2kfd_pre_reset() argument
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c626 ahw->reset_context = 0; in qlcnic_sriov_vf_init()
1440 ahw->reset_context = 1; in __qlcnic_sriov_issue_cmd()
1739 ahw->reset_context = 0; in qlcnic_sriov_vf_detach()
1837 else if (ahw->reset_context) in qlcnic_sriov_vf_idc_ready_state()
H A Dqlcnic_83xx_init.c658 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 Dqlcnic_main.c1892 adapter->ahw->reset_context = 0; in __qlcnic_up()
3029 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout()
3666 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()