All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
	intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/i915/guc: Upgrade to GuC 33.0.0
Date: Wed, 3 Jul 2019 14:50:17 -0700	[thread overview]
Message-ID: <987be86d-15f0-2a02-d5f3-695525204810@intel.com> (raw)
In-Reply-To: <20190703113640.31100-1-michal.wajdeczko@intel.com>



On 7/3/19 4:36 AM, Michal Wajdeczko wrote:
> New GuC firmware is available. Let's use it.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

The only applicable diff in the FW header is indeed the 
GUC_MAX_INSTANCES_PER_CLASS define.

Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

Daniele

> ---
>   drivers/gpu/drm/i915/intel_guc_fw.c   | 20 ++++++++++----------
>   drivers/gpu/drm/i915/intel_guc_fwif.h |  7 +------
>   2 files changed, 11 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_guc_fw.c b/drivers/gpu/drm/i915/intel_guc_fw.c
> index 970f39ef248b..db1e0daca7db 100644
> --- a/drivers/gpu/drm/i915/intel_guc_fw.c
> +++ b/drivers/gpu/drm/i915/intel_guc_fw.c
> @@ -38,37 +38,37 @@
>   	__stringify(KEY##_GUC_FW_PATCH) ".bin"
>   
>   #define SKL_GUC_FW_PREFIX skl
> -#define SKL_GUC_FW_MAJOR 32
> +#define SKL_GUC_FW_MAJOR 33
>   #define SKL_GUC_FW_MINOR 0
> -#define SKL_GUC_FW_PATCH 3
> +#define SKL_GUC_FW_PATCH 0
>   #define SKL_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(SKL)
>   MODULE_FIRMWARE(SKL_GUC_FIRMWARE_PATH);
>   
>   #define BXT_GUC_FW_PREFIX bxt
> -#define BXT_GUC_FW_MAJOR 32
> +#define BXT_GUC_FW_MAJOR 33
>   #define BXT_GUC_FW_MINOR 0
> -#define BXT_GUC_FW_PATCH 3
> +#define BXT_GUC_FW_PATCH 0
>   #define BXT_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(BXT)
>   MODULE_FIRMWARE(BXT_GUC_FIRMWARE_PATH);
>   
>   #define KBL_GUC_FW_PREFIX kbl
> -#define KBL_GUC_FW_MAJOR 32
> +#define KBL_GUC_FW_MAJOR 33
>   #define KBL_GUC_FW_MINOR 0
> -#define KBL_GUC_FW_PATCH 3
> +#define KBL_GUC_FW_PATCH 0
>   #define KBL_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(KBL)
>   MODULE_FIRMWARE(KBL_GUC_FIRMWARE_PATH);
>   
>   #define GLK_GUC_FW_PREFIX glk
> -#define GLK_GUC_FW_MAJOR 32
> +#define GLK_GUC_FW_MAJOR 33
>   #define GLK_GUC_FW_MINOR 0
> -#define GLK_GUC_FW_PATCH 3
> +#define GLK_GUC_FW_PATCH 0
>   #define GLK_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(GLK)
>   MODULE_FIRMWARE(GLK_GUC_FIRMWARE_PATH);
>   
>   #define ICL_GUC_FW_PREFIX icl
> -#define ICL_GUC_FW_MAJOR 32
> +#define ICL_GUC_FW_MAJOR 33
>   #define ICL_GUC_FW_MINOR 0
> -#define ICL_GUC_FW_PATCH 3
> +#define ICL_GUC_FW_PATCH 0
>   #define ICL_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(ICL)
>   MODULE_FIRMWARE(ICL_GUC_FIRMWARE_PATH);
>   
> diff --git a/drivers/gpu/drm/i915/intel_guc_fwif.h b/drivers/gpu/drm/i915/intel_guc_fwif.h
> index 92bd7ffb5b10..30cca3a29323 100644
> --- a/drivers/gpu/drm/i915/intel_guc_fwif.h
> +++ b/drivers/gpu/drm/i915/intel_guc_fwif.h
> @@ -43,13 +43,8 @@
>   #define GUC_VIDEO_ENGINE2		4
>   #define GUC_MAX_ENGINES_NUM		(GUC_VIDEO_ENGINE2 + 1)
>   
> -/*
> - * XXX: Beware that Gen9 firmware 32.x uses wrong definition for
> - * GUC_MAX_INSTANCES_PER_CLASS (1) but this is harmless for us now
> - * as we are not enabling GuC submission mode where this will be used
> - */
>   #define GUC_MAX_ENGINE_CLASSES		5
> -#define GUC_MAX_INSTANCES_PER_CLASS	4
> +#define GUC_MAX_INSTANCES_PER_CLASS	16
>   
>   #define GUC_DOORBELL_INVALID		256
>   
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-07-03 21:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-03 11:36 [PATCH 1/2] drm/i915/guc: Upgrade to GuC 33.0.0 Michal Wajdeczko
2019-07-03 11:36 ` [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode Michal Wajdeczko
2019-07-03 11:40   ` Chris Wilson
2019-07-03 13:02     ` Michal Wajdeczko
2019-07-04 15:59       ` Chris Wilson
2019-07-09 14:17   ` Joonas Lahtinen
2019-07-10 14:27     ` Michal Wajdeczko
2019-07-10 17:51       ` Srivatsa, Anusha
2019-07-11  4:24       ` Ye, Tony
2019-07-03 15:21 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/guc: Upgrade to GuC 33.0.0 Patchwork
2019-07-03 21:50 ` Daniele Ceraolo Spurio [this message]
2019-07-04 15:47 ` ✓ Fi.CI.IGT: " Patchwork

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=987be86d-15f0-2a02-d5f3-695525204810@intel.com \
    --to=daniele.ceraolospurio@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=michal.wajdeczko@intel.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.