XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_sched_rq Struct Reference

#include <gpu_scheduler.h>

Collaboration diagram for drm_sched_rq:
Collaboration graph
[legend]

Public Attributes

struct drm_gpu_scheduler * sched
 
spinlock_t lock
 
ktime_t rr_ts
 
struct list_head entities
 
struct rb_root_cached rb_tree_root
 
enum drm_sched_priority head_prio
 

Detailed Description

struct drm_sched_rq - queue of entities to be scheduled.

@sched: the scheduler to which this rq belongs to. @lock: protects @entities, @rb_tree_root, @rr_ts and @head_prio. @rr_ts: monotonically incrementing fake timestamp for RR mode. @entities: list of the entities to be scheduled. @rb_tree_root: root of time based priority queue of entities for FIFO scheduling @head_prio: priority of the top tree element.

Run queue is a set of entities scheduling command submissions for one specific ring. It implements the scheduling policy that selects the next entity to emit commands from.

Member Data Documentation

◆ entities

struct list_head drm_sched_rq::entities

◆ head_prio

enum drm_sched_priority drm_sched_rq::head_prio

◆ lock

spinlock_t drm_sched_rq::lock

◆ rb_tree_root

struct rb_root_cached drm_sched_rq::rb_tree_root

◆ rr_ts

ktime_t drm_sched_rq::rr_ts

◆ sched

struct drm_gpu_scheduler* drm_sched_rq::sched

The documentation for this struct was generated from the following file: