/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 55 for (i = 0; i < ARRAY_SIZE(ctx->entities); i++) { 56 if (!ctx->entities[i]) 59 drm_sched_entity_destroy(ctx->entities[i]); 60 kfree(ctx->entities[i]); 131 if (WARN_ON(idx >= ARRAY_SIZE(ctx->entities))) 136 if (!ctx->entities[idx]) { 141 entity = kzalloc(sizeof(*ctx->entities[idx]), GFP_KERNEL); 150 ctx->entities[idx] = entity; 155 return ctx->entities[idx];
|
H A D | msm_gpu.h | 420 * entities: 422 * Table of per-priority-level sched entities used by submitqueues 430 struct drm_sched_entity *entities[NR_SCHED_PRIORITIES * MSM_GPU_MAX_RINGS]; member in struct:msm_file_private
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_cs.h | 61 struct drm_sched_entity *entities[AMDGPU_CS_GANG_SIZE]; member in struct:amdgpu_cs_parser
|
H A D | amdgpu_ctx.c | 258 if (cmpxchg(&ctx->entities[hw_ip][ring], NULL, entity)) 421 spend = amdgpu_ctx_fini_entity(adev, ctx->entities[i][j]); 456 if (ctx->entities[hw_ip][ring] == NULL) { 462 ctx_entity = &ctx->entities[hw_ip][ring]->entity; 514 if (!ctx->entities[i][j]) 517 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); 842 if (!ctx->entities[i][j]) 845 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], 902 if (!ctx->entities[i][j]) 905 entity = &ctx->entities[ [all...] |
H A D | amdgpu_ctx.h | 52 struct amdgpu_ctx_entity *entities[AMDGPU_HW_IP_NUM][AMDGPU_MAX_ENTITY_NUM]; member in struct:amdgpu_ctx
|
H A D | amdgpu_job.c | 338 list_for_each_entry(s_entity, &rq->entities, list) {
|
H A D | amdgpu_cs.c | 95 if (p->entities[i] == entity) 102 p->entities[i] = entity; 291 ret = amdgpu_job_alloc(p->adev, vm, p->entities[i], vm, 1186 r = amdgpu_ctx_wait_prev_fence(p->ctx, p->entities[p->gang_leader_idx]); 1328 seq = amdgpu_ctx_add_fence(p->ctx, p->entities[p->gang_leader_idx],
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drv.c | 91 * - from a UDS to a UDS (UDS entities can't be chained) 106 list_for_each_entry(source, &vsp1->entities, list_dev) { 147 list_for_each_entry(entity, &vsp1->entities, list_dev) { 225 list_for_each_entry_safe(entity, _entity, &vsp1->entities, list_dev) { 274 /* Instantiate all the entities. */ 282 list_add_tail(&vsp1->brs->entity.list_dev, &vsp1->entities); 292 list_add_tail(&vsp1->bru->entity.list_dev, &vsp1->entities); 302 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); 311 list_add_tail(&vsp1->hsi->entity.list_dev, &vsp1->entities); 319 list_add_tail(&vsp1->hst->entity.list_dev, &vsp1->entities); [all...] |
H A D | vsp1_pipe.h | 104 * @entities: list of entities in the pipeline 138 * The order of this list must be identical to the order of the entities 142 struct list_head entities; member in struct:vsp1_pipeline
|
H A D | vsp1_pipe.c | 279 list_for_each_entry(entity, &pipe->entities, list_pipe) 282 INIT_LIST_HEAD(&pipe->entities); 300 INIT_LIST_HEAD(&pipe->entities); 360 list_for_each_entry(entity, &pipe->entities, list_pipe) { 462 list_for_each_entry_reverse(entity, &pipe->entities, list_pipe) {
|
H A D | vsp1.h | 102 struct list_head entities; member in struct:vsp1_device
|
H A D | vsp1_drm.c | 60 * Insert the UIF in the pipeline between the prev and next entities. If no UIF 61 * is available connect the two entities directly. 77 * next entities directly. 266 * of entities for this pipeline. The other pipeline's 274 * pointer to add it back to the list of entities later 312 * by the other pipeline, add it back to the entities list (with 318 &pipe->entities); 329 list_add_tail(&pipe->brx->list_pipe, &pipe->entities); 423 list_add_tail(&rpf->entity.list_pipe, &pipe->entities); 465 * hardware pipeline and from the pipeline's list of entities [all...] |
H A D | vsp1_video.c | 275 list_for_each_entry(entity, &pipe->entities, list_pipe) { 373 list_for_each_entry(entity, &pipe->entities, list_pipe) 398 list_for_each_entry(entity, &pipe->entities, list_pipe) 568 /* Walk the graph to locate the entities and video nodes. */ 585 list_add_tail(&e->list_pipe, &pipe->entities); 827 list_for_each_entry(entity, &pipe->entities, list_pipe) {
|
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 140 list_for_each_entry(entity, &chain->entities, chain) { 150 list_for_each_entry(entity, &chain->entities, chain) {
|
H A D | uvc_driver.c | 137 list_for_each_entry(entity, &dev->entities, list) { 151 entity = list_entry(&dev->entities, struct uvc_entity, list); 153 list_for_each_entry_continue(entity, &dev->entities, list) { 912 list_add_tail(&unit->list, &dev->entities); 1043 list_add_tail(&term->list, &dev->entities); 1076 list_add_tail(&term->list, &dev->entities); 1097 list_add_tail(&unit->list, &dev->entities); 1126 list_add_tail(&unit->list, &dev->entities); 1153 list_add_tail(&unit->list, &dev->entities); 1232 /* GPIO entities ar [all...] |
H A D | uvc_status.c | 150 list_for_each_entry(entity, &(*chain)->entities, chain) {
|
H A D | uvcvideo.h | 172 * Entities exposed by the UVC device use IDs 0-255, extra entities 328 struct list_head entities; /* All entities */ member in struct:uvc_video_chain 570 struct list_head entities; member in struct:uvc_device
|
H A D | uvc_ctrl.c | 946 list_for_each_entry(entity, &chain->entities, chain) { 1850 list_for_each_entry(entity, &chain->entities, chain) { 2179 list_for_each_entry(entity, &chain->entities, chain) { 2308 /* Walk the entities list and restore controls when possible. */ 2309 list_for_each_entry(entity, &dev->entities, list) { 2455 list_for_each_entry(entity, &chain->entities, chain) { 2679 /* Walk the entities list and instantiate controls */ 2680 list_for_each_entry(entity, &chain->entities, chain) { 2772 /* Free controls and control mappings for all entities. */ 2773 list_for_each_entry(entity, &dev->entities, lis [all...] |
H A D | uvc_v4l2.c | 936 list_for_each_entry(it, &chain->entities, chain) { 943 list_for_each_entry(it, &chain->entities, chain) {
|
/linux-master/include/media/ |
H A D | media-device.h | 32 * Drivers may register a callback to take action when new entities get 34 * links between existing entities and should not create entities and register 93 * @entities: List of registered entities 112 * access to entities and provides basic media device-level support. The 162 struct list_head entities; member in struct:media_device 305 * to the entities, but, instead, use the framework to find the ID, when 341 * Unregistering an entity will not change the IDs of the other entities and 342 * the previoully used ID will never be reused for a newly registered entities [all...] |
/linux-master/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 27 * The GPU scheduler provides entities which allow userspace to push jobs 29 * The software queues have a priority among them. The scheduler selects the entities 40 * 3. Each scheduler run queue has a queue of entities to schedule 46 * Note that once a job was taken from the entities queue and pushed to the 55 * in which the jobs fetched from scheduler entities are executed. 97 * Used to override default entities scheduling policy in a run queue. 99 MODULE_PARM_DESC(sched_policy, "Specify the scheduling policy for entities on a run-queue, " __stringify(DRM_SCHED_POLICY_RR) " = Round Robin, " __stringify(DRM_SCHED_POLICY_FIFO) " = FIFO (default)."); 199 INIT_LIST_HEAD(&rq->entities); 222 list_add_tail(&entity->list, &rq->entities); 277 list_for_each_entry_continue(entity, &rq->entities, lis [all...] |
/linux-master/include/drm/ |
H A D | gpu_scheduler.h | 85 * ring, and the scheduler will alternate between entities based on 92 * Used to append this struct to the list of entities in the runqueue 93 * @rq under &drm_sched_rq.entities. 192 * Points to entities' guilty. 244 * struct drm_sched_rq - queue of entities to be scheduled. 246 * @lock: to modify the entities list. 248 * @entities: list of the entities to be scheduled. 250 * @rb_tree_root: root of time based priory queue of entities for FIFO scheduling 252 * Run queue is a set of entities schedulin 259 struct list_head entities; member in struct:drm_sched_rq [all...] |
/linux-master/block/ |
H A D | bfq-iosched.c | 184 * request, and all the ancestor entities of that queue, are charged 186 * request is async, then the queue and its ancestor entities are 590 struct bfq_entity **entities = inline_entities; local 606 if (entities != inline_entities) 607 kfree(entities); 608 entities = kmalloc_array(depth, sizeof(*entities), GFP_NOIO); 609 if (!entities) 622 * entities. 629 entities[leve [all...] |
/linux-master/drivers/media/mc/ |
H A D | mc-device.c | 207 /* Find the source and sink entities and link. 226 /* Setup the link on both entities. */ 246 /* Get entities and number of entities */ 684 INIT_LIST_HEAD(&mdev->entities); 803 /* Remove all entities from the media device */ 804 list_for_each_entry_safe(entity, next, &mdev->entities, graph_obj.list)
|
H A D | mc-entity.c | 155 list_add_tail(&gobj->list, &mdev->entities); 412 * top of the stack until no more entities on the level can be 1285 /* Notify both entities. */
|