diff options
| author | Chris Wilson <[email protected]> | 2019-02-26 10:24:00 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-02-28 08:58:37 +0000 |
| commit | 2d5eaad007d971b8cd8cd8122f594b04e292b567 (patch) | |
| tree | d185565dc4ee1d5dbf512b71de69081a7a5a10df /drivers/gpu/drm/i915/intel_ringbuffer.h | |
| parent | drm/i915: Avoid waking the engines just to check if they are idle (diff) | |
| download | kernel-2d5eaad007d971b8cd8cd8122f594b04e292b567.tar.gz kernel-2d5eaad007d971b8cd8cd8122f594b04e292b567.zip | |
drm/i915: Compute the global scheduler caps
Do a pass over all the engines upon starting to determine the global
scheduler capability flags (those that are agreed upon by all).
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index de8dba7565b0..533e2053664e 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -593,6 +593,8 @@ intel_engine_has_preemption(const struct intel_engine_cs *engine) return engine->flags & I915_ENGINE_HAS_PREEMPTION; } +void intel_engines_set_scheduler_caps(struct drm_i915_private *i915); + static inline bool __execlists_need_preempt(int prio, int last) { /* |
