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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to