[Intel-gfx] [PATCH] drm/i915: fix SFC reset flow

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 17 16:06:11 UTC 2019


Quoting Daniele Ceraolo Spurio (2019-09-16 22:41:04)
> @@ -401,7 +407,10 @@ static void gen11_unlock_sfc(struct intel_engine_cs *engine)
>                 return;
>         }
>  
> -       rmw_clear_fw(uncore, sfc_forced_lock, sfc_forced_lock_bit);
> +       lock = intel_uncore_read_fw(uncore, sfc_forced_lock);
> +       if (lock & sfc_forced_lock_bit)
> +               intel_uncore_write_fw(uncore, sfc_forced_lock,
> +                                     lock & ~sfc_forced_lock_bit);

This is handled by rmw_clear_fw() itself now,
80fa64d62067 ("drm/i915: Only apply a rmw mmio update if the value changes")
-Chris


More information about the Intel-gfx mailing list