Home
last modified time | relevance | path

Searched refs:exception_data (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_int_process_v10.c368 struct kfd_hsa_memory_exception_data exception_data; in event_interrupt_wq_v10() local
384 memset(&exception_data, 0, sizeof(exception_data)); in event_interrupt_wq_v10()
385 exception_data.gpu_id = dev->id; in event_interrupt_wq_v10()
386 exception_data.va = (info.page_addr) << PAGE_SHIFT; in event_interrupt_wq_v10()
387 exception_data.failure.NotPresent = info.prot_valid ? 1 : 0; in event_interrupt_wq_v10()
388 exception_data.failure.NoExecute = info.prot_exec ? 1 : 0; in event_interrupt_wq_v10()
389 exception_data.failure.ReadOnly = info.prot_write ? 1 : 0; in event_interrupt_wq_v10()
390 exception_data.failure.imprecise = 0; in event_interrupt_wq_v10()
396 &exception_data, in event_interrupt_wq_v10()
397 sizeof(exception_data)); in event_interrupt_wq_v10()
H A Dkfd_int_process_v11.c285 struct kfd_hsa_memory_exception_data exception_data; in event_interrupt_wq_v11() local
308 memset(&exception_data, 0, sizeof(exception_data)); in event_interrupt_wq_v11()
309 exception_data.gpu_id = dev->id; in event_interrupt_wq_v11()
310 exception_data.va = (info.page_addr) << PAGE_SHIFT; in event_interrupt_wq_v11()
311 exception_data.failure.NotPresent = info.prot_valid ? 1 : 0; in event_interrupt_wq_v11()
312 exception_data.failure.NoExecute = info.prot_exec ? 1 : 0; in event_interrupt_wq_v11()
313 exception_data.failure.ReadOnly = info.prot_write ? 1 : 0; in event_interrupt_wq_v11()
314 exception_data.failure.imprecise = 0; in event_interrupt_wq_v11()
318 &exception_data, sizeof(exception_data)); in event_interrupt_wq_v11()
H A Dkfd_int_process_v9.c414 struct kfd_hsa_memory_exception_data exception_data; in event_interrupt_wq_v9() local
430 memset(&exception_data, 0, sizeof(exception_data)); in event_interrupt_wq_v9()
431 exception_data.gpu_id = dev->id; in event_interrupt_wq_v9()
432 exception_data.va = (info.page_addr) << PAGE_SHIFT; in event_interrupt_wq_v9()
433 exception_data.failure.NotPresent = info.prot_valid ? 1 : 0; in event_interrupt_wq_v9()
434 exception_data.failure.NoExecute = info.prot_exec ? 1 : 0; in event_interrupt_wq_v9()
435 exception_data.failure.ReadOnly = info.prot_write ? 1 : 0; in event_interrupt_wq_v9()
436 exception_data.failure.imprecise = 0; in event_interrupt_wq_v9()
442 &exception_data, in event_interrupt_wq_v9()
443 sizeof(exception_data)); in event_interrupt_wq_v9()
H A Dkfd_debug.h39 void *exception_data,
44 void *exception_data,
H A Dkfd_debug.c116 void *exception_data, size_t exception_data_size) in kfd_dbg_ev_raise() argument
142 exception_data, in kfd_dbg_ev_raise()
151 exception_data, in kfd_dbg_ev_raise()
202 void *exception_data, in kfd_set_dbg_ev_from_interrupt() argument
214 exception_data, exception_data_size)) { in kfd_set_dbg_ev_from_interrupt()
242 exception_data); in kfd_set_dbg_ev_from_interrupt()