diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-03 12:19:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-03 13:08:15 +0000 |
commit | 0542524944c2ae3264ca8e6b5f0c7a111f09a2c2 (patch) | |
tree | 92276c04580c29ac2b708b3365794aee2ce32387 /drivers/gpu/drm/i915/intel_lrc.h | |
parent | 5400367a864ddafdfb9d5d04cf6f9979665ef349 (diff) | |
download | linux-0542524944c2ae3264ca8e6b5f0c7a111f09a2c2.tar.gz linux-0542524944c2ae3264ca8e6b5f0c7a111f09a2c2.tar.bz2 linux-0542524944c2ae3264ca8e6b5f0c7a111f09a2c2.zip |
drm/i915: Generalise wait for execlists to be idle
The code to check for execlists completion is generic, so move it to
intel_engine_cs.c, where we can reuse the new intel_engine_is_idle().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170303121947.20482-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lrc.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lrc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.h b/drivers/gpu/drm/i915/intel_lrc.h index c8009c7bfbdd..5fc07761caff 100644 --- a/drivers/gpu/drm/i915/intel_lrc.h +++ b/drivers/gpu/drm/i915/intel_lrc.h @@ -88,6 +88,5 @@ uint64_t intel_lr_context_descriptor(struct i915_gem_context *ctx, int intel_sanitize_enable_execlists(struct drm_i915_private *dev_priv, int enable_execlists); void intel_execlists_enable_submission(struct drm_i915_private *dev_priv); -bool intel_execlists_idle(struct drm_i915_private *dev_priv); #endif /* _INTEL_LRC_H_ */ |