Skip to contentSkip to conversation

HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK]

PATCH New Anusha 2 participants 9 messages Nov 30, 2018

Subsystems (2)
lore
Share & tools
lore

Anusha

author
#0 lore raw

cover HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK]

Adding the PR-

The following changes since commit 1baa34868b2c0a004dc595b20678145e3fff83e7:

Merge branch 'nxp_mc' of https://github.com/NXP/linux-firmware (2018-10-26 08:13:19 -0400)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm-firmware firmware_updates

for you to fetch changes up to 908244c9c196116069fc6ba43573192ad08ea3af:

firmware/guc/GLK: Add GuC Support for GLK (2018-11-28 10:40:38 -0800)

----------------------------------------------------------------
Anusha Srivatsa (5):
firmware/huc/bxt: Add huC Update for BXT
firmware/huc/SKL: Add huC Update for SKL
firmware/huc/KBL: Add huC Update for KBL
firmware/huc/GLK: Add huC Update for GLK
firmware/guc/GLK: Add GuC Support for GLK

 WHENCE                         |  15 +++++++++++++++
 i915/bxt_huc_ver01_8_2893.bin  | Bin 0 -> 146880 bytes
 i915/glk_guc_ver11_98.bin      | Bin 0 -> 154240 bytes
 i915/glk_huc_ver03_01_2893.bin | Bin 0 -> 222080 bytes
 i915/kbl_huc_ver03_01_2893.bin | Bin 0 -> 222080 bytes
 i915/skl_huc_ver01_8_2893.bin  | Bin 0 -> 133504 bytes
 6 files changed, 15 insertions(+)
 create mode 100644 i915/bxt_huc_ver01_8_2893.bin
 create mode 100644 i915/glk_guc_ver11_98.bin
 create mode 100644 i915/glk_huc_ver03_01_2893.bin
 create mode 100644 i915/kbl_huc_ver03_01_2893.bin
 create mode 100644 i915/skl_huc_ver01_8_2893.bin

Anusha Srivatsa (5):
firmware/huc/BXT: Update the HuC version
firmware/huc/SKL: Update HuC versiom for SKL
firmware/huc/KBL: Update HuC for KBL
firmware/huc/GLK: Load HuC for GLK
HAX enable HuC for CI

John Spotswood (1):
firmware/guc/glk: Load GuC v11.98 for Geminilake.

 drivers/gpu/drm/i915/i915_params.h  |  2 +-
 drivers/gpu/drm/i915/intel_guc_fw.c | 10 ++++++++++
 drivers/gpu/drm/i915/intel_huc_fw.c | 26 +++++++++++++++++++-------
 3 files changed, 30 insertions(+), 8 deletions(-)
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#1 lore raw

PATCH 1/6 firmware/huc/BXT: Update the HuC version

From: Anusha Srivatsa <[email protected]>

We have an update for HuC for BXT.
Load the latest version.

---
 drivers/gpu/drm/i915/intel_huc_fw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_huc_fw.c +2 -2
index f93d2384d482..9612227b3c44 100644
@@ -23,8 +23,8 @@
  */
 
 #define BXT_HUC_FW_MAJOR 01
-#define BXT_HUC_FW_MINOR 07
-#define BXT_BLD_NUM 1398
+#define BXT_HUC_FW_MINOR 8
+#define BXT_BLD_NUM 2893
 
 #define SKL_HUC_FW_MAJOR 01
 #define SKL_HUC_FW_MINOR 07
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#2 lore raw

PATCH 2/6 firmware/huc/SKL: Update HuC versiom for SKL

In reply to Anusha

From: Anusha Srivatsa <[email protected]>

We have an update of huC for SKL.
Load the latest verion.

---
 drivers/gpu/drm/i915/intel_huc_fw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_huc_fw.c +2 -2
index 9612227b3c44..4c4f21731d36 100644
@@ -27,8 +27,8 @@
 #define BXT_BLD_NUM 2893
 
 #define SKL_HUC_FW_MAJOR 01
-#define SKL_HUC_FW_MINOR 07
-#define SKL_BLD_NUM 1398
+#define SKL_HUC_FW_MINOR 8
+#define SKL_BLD_NUM 2893
 
 #define KBL_HUC_FW_MAJOR 02
 #define KBL_HUC_FW_MINOR 00
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#3 lore raw

PATCH 3/6 firmware/huc/KBL: Update HuC for KBL

In reply to Anusha

From: Anusha Srivatsa <[email protected]>

We have an update of HuC for KBL.
Load the latest version.

---
 drivers/gpu/drm/i915/intel_huc_fw.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/intel_huc_fw.c +3 -3
index 4c4f21731d36..1fa10e327a2d 100644
@@ -30,9 +30,9 @@
 #define SKL_HUC_FW_MINOR 8
 #define SKL_BLD_NUM 2893
 
-#define KBL_HUC_FW_MAJOR 02
-#define KBL_HUC_FW_MINOR 00
-#define KBL_BLD_NUM 1810
+#define KBL_HUC_FW_MAJOR 03
+#define KBL_HUC_FW_MINOR 01
+#define KBL_BLD_NUM 2893
 
 #define HUC_FW_PATH(platform, major, minor, bld_num) \
 	"i915/" __stringify(platform) "_huc_ver" __stringify(major) "_" \
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#4 lore raw

PATCH 4/6 firmware/huc/GLK: Load HuC for GLK

In reply to Anusha

From: Anusha Srivatsa <[email protected]>

Load Huc for GLK.

---
 drivers/gpu/drm/i915/intel_huc_fw.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/i915/intel_huc_fw.c +12 -0
index 1fa10e327a2d..634bafb77d79 100644
@@ -34,6 +34,10 @@
 #define KBL_HUC_FW_MINOR 01
 #define KBL_BLD_NUM 2893
 
+#define GLK_HUC_FW_MAJOR 03
+#define GLK_HUC_FW_MINOR 01
+#define GLK_BLD_NUM 2893
+
 #define HUC_FW_PATH(platform, major, minor, bld_num) \
 	"i915/" __stringify(platform) "_huc_ver" __stringify(major) "_" \
 	__stringify(minor) "_" __stringify(bld_num) ".bin"
@@ -50,6 +54,10 @@ MODULE_FIRMWARE(I915_BXT_HUC_UCODE);
 	KBL_HUC_FW_MINOR, KBL_BLD_NUM)
 MODULE_FIRMWARE(I915_KBL_HUC_UCODE);
 
+#define I915_GLK_HUC_UCODE HUC_FW_PATH(glk, GLK_HUC_FW_MAJOR, \
+	GLK_HUC_FW_MINOR, GLK_BLD_NUM)
+MODULE_FIRMWARE(I915_GLK_HUC_UCODE);
+
 static void huc_fw_select(struct intel_uc_fw *huc_fw)
 {
 	struct intel_huc *huc = container_of(huc_fw, struct intel_huc, fw);
@@ -76,6 +84,10 @@ static void huc_fw_select(struct intel_uc_fw *huc_fw)
 		huc_fw->path = I915_KBL_HUC_UCODE;
 		huc_fw->major_ver_wanted = KBL_HUC_FW_MAJOR;
 		huc_fw->minor_ver_wanted = KBL_HUC_FW_MINOR;
+	} else if (IS_GEMINILAKE(dev_priv)) {
+		huc_fw->path = I915_GLK_HUC_UCODE;
+		huc_fw->major_ver_wanted = GLK_HUC_FW_MAJOR;
+		huc_fw->minor_ver_wanted = GLK_HUC_FW_MINOR;
 	} else {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(huc_fw->type));
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#5 lore raw

PATCH 5/6 firmware/guc/glk: Load GuC v11.98 for Geminilake.

In reply to Anusha

From: John Spotswood <[email protected]>

load the v11.98 guC on geminilake.

v2: rebased.

v3: Change subject prefix. (Anusha)

---
 drivers/gpu/drm/i915/intel_guc_fw.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/gpu/drm/i915/intel_guc_fw.c +10 -0
index a67144ee5ceb..55900937882a 100644
@@ -39,6 +39,9 @@
 #define KBL_FW_MAJOR 9
 #define KBL_FW_MINOR 39
 
+#define GLK_FW_MAJOR 11
+#define GLK_FW_MINOR 98
+
 #define GUC_FW_PATH(platform, major, minor) \
        "i915/" __stringify(platform) "_guc_ver" __stringify(major) "_" __stringify(minor) ".bin"
 
@@ -51,6 +54,9 @@ MODULE_FIRMWARE(I915_BXT_GUC_UCODE);
 #define I915_KBL_GUC_UCODE GUC_FW_PATH(kbl, KBL_FW_MAJOR, KBL_FW_MINOR)
 MODULE_FIRMWARE(I915_KBL_GUC_UCODE);
 
+#define I915_GLK_GUC_UCODE GUC_FW_PATH(glk, GLK_FW_MAJOR, GLK_FW_MINOR)
+MODULE_FIRMWARE(I915_GLK_GUC_UCODE);
+
 static void guc_fw_select(struct intel_uc_fw *guc_fw)
 {
 	struct intel_guc *guc = container_of(guc_fw, struct intel_guc, fw);
@@ -77,6 +83,10 @@ static void guc_fw_select(struct intel_uc_fw *guc_fw)
 		guc_fw->path = I915_KBL_GUC_UCODE;
 		guc_fw->major_ver_wanted = KBL_FW_MAJOR;
 		guc_fw->minor_ver_wanted = KBL_FW_MINOR;
+	} else if (IS_GEMINILAKE(dev_priv)) {
+		guc_fw->path = I915_GLK_GUC_UCODE;
+		guc_fw->major_ver_wanted = GLK_FW_MAJOR;
+		guc_fw->minor_ver_wanted = GLK_FW_MINOR;
 	} else {
 		dev_info(dev_priv->drm.dev,
 			 "%s: No firmware known for this platform!\n",
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#6 lore raw

PATCH 6/6 HAX enable HuC for CI

In reply to Anusha

From: Anusha Srivatsa <[email protected]>

---
 drivers/gpu/drm/i915/i915_params.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_params.h +1 -1
index 7e56c516c815..c681537bcb92 100644
@@ -45,7 +45,7 @@ struct drm_printer;
 	param(int, disable_power_well, -1) \
 	param(int, enable_ips, 1) \
 	param(int, invert_brightness, 0) \
-	param(int, enable_guc, 0) \
+	param(int, enable_guc, -1) \
 	param(int, guc_log_level, -1) \
 	param(char *, guc_firmware_path, NULL) \
 	param(char *, huc_firmware_path, NULL) \
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#7 lore raw

✗ Fi.CI.CHECKPATCH: warning for HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK] (rev3)

In reply to Anusha
== Series Details ==

== Series Details ==

Series: HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK] (rev3)
URL : https://patchwork.freedesktop.org/series/53191/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
31a2d0868104 firmware/huc/BXT: Update the HuC version
6615988330bb firmware/huc/SKL: Update HuC versiom for SKL
3b246f040348 firmware/huc/KBL: Update HuC for KBL
c189b72064fe firmware/huc/GLK: Load HuC for GLK
841ebdc71a34 firmware/guc/glk: Load GuC v11.98 for Geminilake.
1802b2d3520f HAX enable HuC for CI
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

total: 0 errors, 1 warnings, 0 checks, 8 lines checked

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#8 lore raw

✗ Fi.CI.BAT: failure for HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK] (rev3)

In reply to Anusha
== Series Details ==

== Series Details ==

Series: HuC Updates [BXT,SKL,KBL,GLK] GuC [GLK] (rev3)
URL : https://patchwork.freedesktop.org/series/53191/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5227 -> Patchwork_10969
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_10969 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_10969, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://patchwork.freedesktop.org/api/1.0/series/53191/revisions/3/mbox/

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_10969:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live_execlists:
- fi-skl-6260u: PASS -> INCOMPLETE

Known issues
------------

Here are the changes found in Patchwork_10969 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_create@basic-files:
- fi-bsw-n3050: PASS -> FAIL [fdo#108656]

* igt@i915_selftest@live_contexts:
- fi-bsw-kefka: PASS -> DMESG-FAIL [fdo#108656]

* igt@i915_selftest@live_hangcheck:
- fi-kbl-r: PASS -> DMESG-FAIL [fdo#107860]

#### Possible fixes ####

* igt@gem_ctx_create@basic-files:
- fi-bsw-kefka: FAIL [fdo#108656] -> PASS

* igt@gem_exec_suspend@basic-s4-devices:
- fi-ivb-3520m: FAIL [fdo#108880] -> PASS

* igt@kms_frontbuffer_tracking@basic:
- fi-byt-clapper: FAIL [fdo#103167] -> PASS

#### Warnings ####

* igt@i915_selftest@live_contexts:
- {fi-icl-u3}: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107860]: https://bugs.freedesktop.org/show_bug.cgi?id=107860
[fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656
[fdo#108880]: https://bugs.freedesktop.org/show_bug.cgi?id=108880

Participating hosts (50 -> 44)
------------------------------

Additional (1): fi-glk-j4005
Missing (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus

Build changes
-------------

* Linux: CI_DRM_5227 -> Patchwork_10969

CI_DRM_5227: 95052693524067ba66e1a6733355739fbcc8d5b6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10969: 1802b2d3520f2c67cf6c691256822deb8c605842 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

1802b2d3520f HAX enable HuC for CI
841ebdc71a34 firmware/guc/glk: Load GuC v11.98 for Geminilake. c189b72064fe firmware/huc/GLK: Load HuC for GLK 3b246f040348 firmware/huc/KBL: Update HuC for KBL 6615988330bb firmware/huc/SKL: Update HuC versiom for SKL 31a2d0868104 firmware/huc/BXT: Update the HuC version

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10969/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx