[Intel-gfx] [PATCH v3] drm/i915: Downgrade scare message for unknown HuC firmware

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 8 14:19:55 UTC 2019


Quoting Chris Wilson (2019-01-08 13:06:37)
> diff --git a/drivers/gpu/drm/i915/intel_uc_fw.c b/drivers/gpu/drm/i915/intel_uc_fw.c
> index fd496416087c..ace8853e81b2 100644
> --- a/drivers/gpu/drm/i915/intel_uc_fw.c
> +++ b/drivers/gpu/drm/i915/intel_uc_fw.c
> @@ -46,12 +46,17 @@ void intel_uc_fw_fetch(struct drm_i915_private *dev_priv,
>         size_t size;
>         int err;
>  
> +       if (!uc_fw->path) {
> +               dev_info(dev_priv->drm.dev,
> +                        "%s: No firmware was defined for %s!\n",
> +                        intel_uc_fw_type_repr(fw->type),

s/fw/uc_fw/
-Chris
> +                        intel_platform_name(INTEL_INFO(dev_priv)->platform));
> +               return;
> +       }
>  


More information about the Intel-gfx mailing list