On Tue, Mar 28, 2017 at 09:53:47AM -0700, Oscar Mateo wrote:
> The should happen as soon as possible, but always within the logic that
> depends on it (and not interrupting the top-level driver control flow).
> 
> Cc: Chris Wilson <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
> Signed-off-by: Oscar Mateo <[email protected]>

>  void intel_uc_fini_hw(struct drm_i915_private *dev_priv)
>  {
> +     if (!i915.enable_guc_loading)
> +             return;
> +
>       if (i915.enable_guc_submission) {
>               i915_guc_submission_disable(dev_priv);
>               gen9_disable_guc_interrupts(dev_priv);

With the understanding that this becomes more interesting in the future
:)

Reviewed-by: Chris Wilson <[email protected]>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to