diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-18 14:40:51 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-18 16:09:09 -0400 |
commit | 0c7112a00272c633a79cad91ea9c1a0f40330f5d (patch) | |
tree | 8918419da626cac9d3c93905d03965cf7e44894c /drivers/gpu/drm/i915/i915_request.h | |
parent | 98ff5c78307b4177b7e44783a04b208189e21418 (diff) |
drm/i915: Rename priotree to sched
Having moved the priotree struct into i915_scheduler.h, identify it as
the scheduling element and rebrand into i915_sched. This becomes more
useful as we start attaching more information we require to propagate
through the scheduler.
v2: Use i915_sched_node for future distinctiveness
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180418184052.7129-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_request.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.h b/drivers/gpu/drm/i915/i915_request.h index e6f7c5f4ec7f..35b8a9856daa 100644 --- a/drivers/gpu/drm/i915/i915_request.h +++ b/drivers/gpu/drm/i915/i915_request.h | |||
@@ -117,7 +117,7 @@ struct i915_request { | |||
117 | * to retirement), i.e. bidirectional dependency information for the | 117 | * to retirement), i.e. bidirectional dependency information for the |
118 | * request not tied to individual fences. | 118 | * request not tied to individual fences. |
119 | */ | 119 | */ |
120 | struct i915_priotree priotree; | 120 | struct i915_sched_node sched; |
121 | struct i915_dependency dep; | 121 | struct i915_dependency dep; |
122 | 122 | ||
123 | /** | 123 | /** |
@@ -306,10 +306,10 @@ static inline bool i915_request_started(const struct i915_request *rq) | |||
306 | seqno - 1); | 306 | seqno - 1); |
307 | } | 307 | } |
308 | 308 | ||
309 | static inline bool i915_priotree_signaled(const struct i915_priotree *pt) | 309 | static inline bool i915_sched_node_signaled(const struct i915_sched_node *node) |
310 | { | 310 | { |
311 | const struct i915_request *rq = | 311 | const struct i915_request *rq = |
312 | container_of(pt, const struct i915_request, priotree); | 312 | container_of(node, const struct i915_request, sched); |
313 | 313 | ||
314 | return i915_request_completed(rq); | 314 | return i915_request_completed(rq); |
315 | } | 315 | } |