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 <chris@xxxxxxxxxxxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Signed-off-by: Oscar Mateo <oscar.mateo@xxxxxxxxx> > 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 <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx