Lines Matching refs:properties
39 if ((pqn->q && pqn->q->properties.queue_id == qid) || in get_queue_by_qid()
40 (pqn->kq && pqn->kq->queue->properties.queue_id == qid)) in get_queue_by_qid()
220 kfd_queue_unref_bo_vas(pdd, &pqn->q->properties); in pqm_uninit()
221 kfd_queue_release_buffers(pdd, &pqn->q->properties); in pqm_uninit()
304 struct queue_properties *properties, in pqm_create_queue() argument
316 enum kfd_queue_type type = properties->type; in pqm_create_queue()
377 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue()
398 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue()
413 kq->queue->properties.queue_id = *qid; in pqm_create_queue()
446 *p_doorbell_offset_in_process = (q->properties.doorbell_off in pqm_create_queue()
457 print_queue_properties(&q->properties); in pqm_create_queue()
516 retval = kfd_queue_unref_bo_vas(pdd, &pqn->q->properties); in pqm_destroy_queue()
525 pqn->q->properties.queue_id, retval); in pqm_destroy_queue()
530 kfd_queue_release_buffers(pdd, &pqn->q->properties); in pqm_destroy_queue()
583 kfd_queue_unref_bo_va(vm, &pqn->q->properties.ring_bo); in pqm_update_queue_properties()
584 kfd_queue_buffer_put(&pqn->q->properties.ring_bo); in pqm_update_queue_properties()
587 pqn->q->properties.ring_bo = p->ring_bo; in pqm_update_queue_properties()
590 pqn->q->properties.queue_address = p->queue_address; in pqm_update_queue_properties()
591 pqn->q->properties.queue_size = p->queue_size; in pqm_update_queue_properties()
592 pqn->q->properties.queue_percent = p->queue_percent; in pqm_update_queue_properties()
593 pqn->q->properties.priority = p->priority; in pqm_update_queue_properties()
594 pqn->q->properties.pm4_target_xcc = p->pm4_target_xcc; in pqm_update_queue_properties()
617 if (pqn->q->properties.is_dbg_wa && minfo && minfo->cu_mask.ptr) in pqm_update_mqd()
641 pqn->q->properties.is_user_cu_masked = true; in pqm_update_mqd()
738 q->properties.queue_id, in get_queue_data_sizes()
763 if (q->properties.type == KFD_QUEUE_TYPE_COMPUTE || in kfd_process_get_queue_info()
764 q->properties.type == KFD_QUEUE_TYPE_SDMA || in kfd_process_get_queue_info()
765 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) { in kfd_process_get_queue_info()
776 pr_err("Unsupported queue type (%d)\n", q->properties.type); in kfd_process_get_queue_info()
820 q_data->type = q->properties.type; in criu_checkpoint_queue()
821 q_data->format = q->properties.format; in criu_checkpoint_queue()
822 q_data->q_id = q->properties.queue_id; in criu_checkpoint_queue()
823 q_data->q_address = q->properties.queue_address; in criu_checkpoint_queue()
824 q_data->q_size = q->properties.queue_size; in criu_checkpoint_queue()
825 q_data->priority = q->properties.priority; in criu_checkpoint_queue()
826 q_data->q_percent = q->properties.queue_percent; in criu_checkpoint_queue()
827 q_data->read_ptr_addr = (uint64_t)q->properties.read_ptr; in criu_checkpoint_queue()
828 q_data->write_ptr_addr = (uint64_t)q->properties.write_ptr; in criu_checkpoint_queue()
834 q->properties.eop_ring_buffer_address; in criu_checkpoint_queue()
836 q_data->eop_ring_buffer_size = q->properties.eop_ring_buffer_size; in criu_checkpoint_queue()
839 q->properties.ctx_save_restore_area_address; in criu_checkpoint_queue()
842 q->properties.ctx_save_restore_area_size; in criu_checkpoint_queue()
846 ret = pqm_checkpoint_mqd(&pdd->process->pqm, q->properties.queue_id, mqd, ctl_stack); in criu_checkpoint_queue()
872 if (q->properties.type != KFD_QUEUE_TYPE_COMPUTE && in criu_checkpoint_queues_device()
873 q->properties.type != KFD_QUEUE_TYPE_SDMA && in criu_checkpoint_queues_device()
874 q->properties.type != KFD_QUEUE_TYPE_SDMA_XGMI) { in criu_checkpoint_queues_device()
876 pr_err("Unsupported queue type (%d)\n", q->properties.type); in criu_checkpoint_queues_device()
1094 switch (q->properties.type) { in pqm_debugfs_mqds()
1110 q->properties.type, q->device->id); in pqm_debugfs_mqds()
1115 &q->properties); in pqm_debugfs_mqds()
1119 switch (q->properties.type) { in pqm_debugfs_mqds()
1127 q->properties.type, in pqm_debugfs_mqds()