From: Ander Conselvan De Oliveira <conselvan2@gmail.com>
To: Anusha Srivatsa <anusha.srivatsa@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@itel.com>
Subject: Re: [PATCH] i915/HuC: Add an extra check for platforms that do not have HUC
Date: Thu, 02 Mar 2017 16:14:23 +0200 [thread overview]
Message-ID: <1488464063.3654.3.camel@gmail.com> (raw)
In-Reply-To: <1488398335-13121-1-git-send-email-anusha.srivatsa@intel.com>
On Wed, 2017-03-01 at 11:58 -0800, Anusha Srivatsa wrote:
> Return silently without producing much noise on platforms
> that have a HuC but the firmware is absent.
Matches what's done for GuC.
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
> Cc: Ander Conselvan De Oliveira <ander.conselvan.de.oliveira@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@itel.com>
> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
> ---
> drivers/gpu/drm/i915/intel_huc.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_huc.c b/drivers/gpu/drm/i915/intel_huc.c
> index c28543d..e660109 100644
> --- a/drivers/gpu/drm/i915/intel_huc.c
> +++ b/drivers/gpu/drm/i915/intel_huc.c
> @@ -181,12 +181,14 @@ void intel_huc_init(struct drm_i915_private *dev_priv)
> }
>
> huc_fw->path = fw_path;
> +
> + if (huc_fw->path == NULL)
> + return;
> +
> huc_fw->fetch_status = INTEL_UC_FIRMWARE_PENDING;
>
> DRM_DEBUG_DRIVER("HuC firmware pending, path %s\n", fw_path);
>
> - WARN(huc_fw->path == NULL, "HuC present but no fw path\n");
> -
> intel_uc_fw_fetch(dev_priv, huc_fw);
> }
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2017-03-02 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 19:58 [PATCH] i915/HuC: Add an extra check for platforms that do not have HUC Anusha Srivatsa
2017-03-01 21:48 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-03-02 11:17 ` ✓ Fi.CI.BAT: success " Patchwork
2017-03-02 14:18 ` Ander Conselvan De Oliveira
2017-03-02 14:14 ` Ander Conselvan De Oliveira [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488464063.3654.3.camel@gmail.com \
--to=conselvan2@gmail.com \
--cc=anusha.srivatsa@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@itel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.