Home
last modified time | relevance | path

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

/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Daldebaran.c47 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
151 struct list_head *reset_device_list = reset_context->reset_device_list; in aldebaran_mode2_perform_reset()
161 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()
332 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument
[all …]
H A Damdgpu_reset.c82 struct amdgpu_reset_context *reset_context) in amdgpu_reset_prepare_hwcontext() argument
88 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext()
93 reset_context); in amdgpu_reset_prepare_hwcontext()
97 struct amdgpu_reset_context *reset_context) in amdgpu_reset_perform_reset() argument
104 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()
108 ret = reset_handler->perform_reset(adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()
113 reset_context); in amdgpu_reset_perform_reset()
H A Dmxgpu_ai.c287 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()
H A Dmxgpu_nv.c312 struct amdgpu_reset_context reset_context; in xgpu_nv_mailbox_flr_work() local
313 memset(&reset_context, 0, sizeof(reset_context)); in xgpu_nv_mailbox_flr_work()
315 reset_context.method = AMD_RESET_METHOD_NONE; in xgpu_nv_mailbox_flr_work()
316 reset_context.reset_req_dev = adev; in xgpu_nv_mailbox_flr_work()
317 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in xgpu_nv_mailbox_flr_work()
319 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in xgpu_nv_mailbox_flr_work()
H A Dsmu_v13_0_10.c43 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
H A Dsienna_cichlid.c48 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
H A Damdgpu_job.c71 struct amdgpu_reset_context reset_context; in amdgpu_job_timedout() local
72 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_job_timedout()
74 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_job_timedout()
75 reset_context.reset_req_dev = adev; in amdgpu_job_timedout()
76 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_job_timedout()
78 r = amdgpu_device_gpu_recover(ring->adev, job, &reset_context); in amdgpu_job_timedout()
H A Dmxgpu_vi.c526 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()
H A Damdgpu_reset.h95 struct amdgpu_reset_context *reset_context);
98 struct amdgpu_reset_context *reset_context);
H A Damdgpu_amdkfd.c134 struct amdgpu_reset_context reset_context; in amdgpu_amdkfd_reset_work() local
136 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_amdkfd_reset_work()
138 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_amdkfd_reset_work()
139 reset_context.reset_req_dev = adev; in amdgpu_amdkfd_reset_work()
140 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_amdkfd_reset_work()
142 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_amdkfd_reset_work()
H A Damdgpu_fence.c1000 struct amdgpu_reset_context reset_context; in amdgpu_debugfs_reset_work() local
1002 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_debugfs_reset_work()
1004 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_debugfs_reset_work()
1005 reset_context.reset_req_dev = adev; in amdgpu_debugfs_reset_work()
1006 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_debugfs_reset_work()
1008 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_debugfs_reset_work()
H A Damdgpu_device.c4904 struct amdgpu_reset_context *reset_context) in amdgpu_device_pre_asic_reset()
4909 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset()
4911 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset()
4912 job = reset_context->job; in amdgpu_device_pre_asic_reset()
4942 r = amdgpu_reset_prepare_hwcontext(adev, reset_context);
4969 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_devcoredump_read()
4972 &reset_context->flags); in amdgpu_devcoredump_read()
5047 struct amdgpu_reset_context *reset_context) in amdgpu_do_asic_reset()
5059 reset_context->reset_device_list = device_list_handle; in amdgpu_do_asic_reset()
5060 r = amdgpu_reset_perform_reset(tmp_adev, reset_context); in amdgpu_do_asic_reset()
4854 amdgpu_device_pre_asic_reset(struct amdgpu_device * adev,struct amdgpu_reset_context * reset_context) amdgpu_device_pre_asic_reset() argument
4997 amdgpu_do_asic_reset(struct list_head * device_list_handle,struct amdgpu_reset_context * reset_context) amdgpu_do_asic_reset() argument
5315 amdgpu_device_gpu_recover(struct amdgpu_device * adev,struct amdgpu_job * job,struct amdgpu_reset_context * reset_context) amdgpu_device_gpu_recover() argument
5882 struct amdgpu_reset_context reset_context; amdgpu_pci_slot_reset() local
[all...]
H A Damdgpu_drv.c2270 struct amdgpu_reset_context reset_context; in amdgpu_pci_remove() local
2273 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_pci_remove()
2274 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_pci_remove()
2275 reset_context.reset_req_dev = adev; in amdgpu_pci_remove()
2276 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_pci_remove()
2277 set_bit(AMDGPU_RESET_FOR_DEVICE_REMOVE, &reset_context.flags); in amdgpu_pci_remove()
2278 amdgpu_device_gpu_recover(adev, NULL, &reset_context); in amdgpu_pci_remove()
2324 struct amdgpu_reset_context reset_context; in amdgpu_drv_delayed_reset_work_handler() local
2326 memset(&reset_context, in amdgpu_drv_delayed_reset_work_handler()
[all...]
H A Damdgpu_ras.c2076 struct amdgpu_reset_context reset_context; in amdgpu_ras_do_recovery()
2077 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_ras_do_recovery()
2079 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_ras_do_recovery()
2080 reset_context.reset_req_dev = adev; in amdgpu_ras_do_recovery()
2084 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery()
2086 clear_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery()
2090 reset_context.method = AMD_RESET_METHOD_MODE2; in amdgpu_ras_do_recovery()
2098 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_ras_do_recovery()
2104 amdgpu_device_gpu_recover(ras->adev, NULL, &reset_context); in amdgpu_ras_do_recovery()
2073 struct amdgpu_reset_context reset_context; amdgpu_ras_do_recovery() local
[all...]
H A Damdgpu.h1181 struct amdgpu_reset_context *reset_context);
1184 struct amdgpu_reset_context *reset_context);
1323 struct amdgpu_reset_context *reset_context);
/openbsd-src/gnu/usr.bin/perl/dist/Storable/
H A DStorable.xs1550 static void reset_context(stcxt_t *cxt) in reset_context() function
1747 reset_context(cxt); in clean_store_context()
1857 reset_context(cxt); in clean_retrieve_context()
1881 reset_context(cxt); in clean_context()