Lines Matching refs:q_properties

186 static int set_queue_properties_from_user(struct queue_properties *q_properties,
242 q_properties->is_interop = false;
243 q_properties->is_gws = false;
244 q_properties->queue_percent = args->queue_percentage & 0xFF;
246 q_properties->pm4_target_xcc = (args->queue_percentage >> 8) & 0xFF;
247 q_properties->priority = args->queue_priority;
248 q_properties->queue_address = args->ring_base_address;
249 q_properties->queue_size = args->ring_size;
250 q_properties->read_ptr = (uint32_t *) args->read_pointer_address;
251 q_properties->write_ptr = (uint32_t *) args->write_pointer_address;
252 q_properties->eop_ring_buffer_address = args->eop_buffer_address;
253 q_properties->eop_ring_buffer_size = args->eop_buffer_size;
254 q_properties->ctx_save_restore_area_address =
256 q_properties->ctx_save_restore_area_size = args->ctx_save_restore_size;
257 q_properties->ctl_stack_size = args->ctl_stack_size;
260 q_properties->type = KFD_QUEUE_TYPE_COMPUTE;
262 q_properties->type = KFD_QUEUE_TYPE_SDMA;
264 q_properties->type = KFD_QUEUE_TYPE_SDMA_XGMI;
269 q_properties->format = KFD_QUEUE_FORMAT_AQL;
271 q_properties->format = KFD_QUEUE_FORMAT_PM4;
274 q_properties->queue_percent, args->queue_percentage);
277 q_properties->priority, args->queue_priority);
280 q_properties->queue_address, args->ring_base_address);
283 q_properties->queue_size, args->ring_size);
286 q_properties->read_ptr,
287 q_properties->write_ptr);
289 pr_debug("Queue Format: %d\n", q_properties->format);
291 pr_debug("Queue EOP: 0x%llX\n", q_properties->eop_ring_buffer_address);
294 q_properties->ctx_save_restore_area_address);
307 struct queue_properties q_properties;
311 memset(&q_properties, 0, sizeof(struct queue_properties));
315 err = set_queue_properties_from_user(&q_properties, args);
391 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id, wptr_bo,