[Intel-gfx] [PATCH] drm/i915/guc: init submission structures as part of guc_init

Michal Wajdeczko michal.wajdeczko at intel.com
Fri Jul 26 05:11:38 UTC 2019


On Thu, 25 Jul 2019 19:46:55 +0200, Daniele Ceraolo Spurio  
<daniele.ceraolospurio at intel.com> wrote:

> guc->stage_desc_pool is required as part of the init parameters and
> there is no reason we have to init them after HuC. This fixes a NULL
> ptr dereference due to guc->stage_desc_pool not being set (no fixes
> tag since GuC submission can't be enabled yet).
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> ---

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


More information about the Intel-gfx mailing list