Home
last modified time | relevance | path

Searched refs:ctl_stack (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_v9.c319 void __user *ctl_stack, in get_wave_state() argument
342 if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state))) in get_wave_state()
345 if (copy_to_user(ctl_stack + m->cp_hqd_cntl_stack_offset, in get_wave_state()
364 void *ctl_stack = (void *)((uintptr_t)mqd + PAGE_SIZE); in checkpoint_mqd() local
369 memcpy(ctl_stack_dst, ctl_stack, m->cp_hqd_cntl_stack_size); in checkpoint_mqd()
380 void *ctl_stack; in restore_mqd() local
392 ctl_stack = (void *)((uintptr_t)*mqd + PAGE_SIZE); in restore_mqd()
393 memcpy(ctl_stack, ctl_stack_src, ctl_stack_size); in restore_mqd()
768 void __user *ctl_stack, in get_wave_state_v9_4_3() argument
780 xcc_ctl_stack = (void __user *)((uintptr_t)ctl_stack + in get_wave_state_v9_4_3()
Dkfd_process_queue_manager.c601 void __user *ctl_stack, in pqm_get_wave_state() argument
616 ctl_stack, in pqm_get_wave_state()
721 void *ctl_stack) in pqm_checkpoint_mqd() argument
737 pqn->q, mqd, ctl_stack); in pqm_checkpoint_mqd()
744 uint8_t *mqd, *ctl_stack; in criu_checkpoint_queue() local
748 ctl_stack = mqd + q_data->mqd_size; in criu_checkpoint_queue()
777 ret = pqm_checkpoint_mqd(&pdd->process->pqm, q->properties.queue_id, mqd, ctl_stack); in criu_checkpoint_queue()
904 uint8_t *mqd, *ctl_stack, *q_extra_data = NULL; in kfd_criu_restore_queue() local
956 ctl_stack = mqd + q_data->mqd_size; in kfd_criu_restore_queue()
963 ret = pqm_create_queue(&p->pqm, pdd->dev, NULL, &qp, &queue_id, NULL, q_data, mqd, ctl_stack, in kfd_criu_restore_queue()
Dkfd_device_queue_manager.h182 void __user *ctl_stack,
195 void *ctl_stack);
Dkfd_mqd_manager.h101 void __user *ctl_stack,
Dkfd_mqd_manager_v10.c236 void __user *ctl_stack, in get_wave_state() argument
266 if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state))) in get_wave_state()
Dkfd_mqd_manager_v11.c290 void __user *ctl_stack, in get_wave_state() argument
319 if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state))) in get_wave_state()
Dkfd_mqd_manager_vi.c256 void __user *ctl_stack, in get_wave_state() argument
Dkfd_device_queue_manager.c2269 void __user *ctl_stack, in get_wave_state() argument
2294 ctl_stack, ctl_stack_used_size, save_area_used_size); in get_wave_state()
2320 void *ctl_stack) in checkpoint_mqd() argument
2340 mqd_mgr->checkpoint_mqd(mqd_mgr, q->mqd, mqd, ctl_stack); in checkpoint_mqd()
Dkfd_priv.h1337 void __user *ctl_stack,