[Intel-gfx] [PATCH v2 1/3] drm/i915/guc: init GuC descriptors after GuC load

Michal Wajdeczko michal.wajdeczko at intel.com
Wed Oct 3 15:20:22 UTC 2018


On Tue, 02 Oct 2018 23:54:28 +0200, Daniele Ceraolo Spurio  
<daniele.ceraolospurio at intel.com> wrote:

> GuC stores some data in there, which might be stale after a reset.
> We already reset the WQ head and tail, but more things are being moved
> to the descriptor with the interface updates. Instead of trying to track
> them one by one, always memset and init the descriptors from scratch
> after GuC is loaded.
> The code is also reorganized so that the above operations and the
> doorbell creation are grouped as "client enabling"
>
> v2: add proc_desc_fini for symmetry (Daniele), remove unneeded var init,
> add guc_is_alive() (Michal)
>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> ---

Reviewed-by: Michal Wajdeczko <michal.wajdeczko at intel.com>

Michal


More information about the Intel-gfx mailing list