[Intel-gfx] [PATCH 23/26] drm/i915: Rename intel_wakeref_[is]_active

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 18 08:14:41 UTC 2019


Quoting Chris Wilson (2019-06-18 08:41:50)
> @@ -422,6 +423,11 @@ static inline void intel_engine_reset(struct intel_engine_cs *engine,
>  bool intel_engine_is_idle(struct intel_engine_cs *engine);
>  bool intel_engines_are_idle(struct drm_i915_private *dev_priv);
>  
> +static inline bool intel_engine_is_active(const struct intel_engine_cs *engine)

On review, I think I prefer intel_engine_is_awake() here so that it is
slightly more distinct from intel_engine_is_idle().
-Chris


More information about the Intel-gfx mailing list