[Intel-gfx] [PATCH 2/3] drm/i915/uc: Cleanup fw fetch on every GuC/HuC init failure
Chris Wilson
chris at chris-wilson.co.uk
Sat Aug 17 13:19:20 UTC 2019
Quoting Michal Wajdeczko (2019-08-17 14:11:43)
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> index 449c432dd768..d8e9be1d7b0e 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> @@ -305,16 +305,10 @@ int intel_uc_init(struct intel_uc *uc)
> return ret;
>
> if (intel_uc_uses_huc(uc)) {
> - ret = intel_huc_init(huc);
> - if (ret)
> - goto out_huc;
> + intel_huc_init(huc);
> }
Insert checkpatch comments about residual {}
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list