Skip to contentSkip to conversation

drm/i915/glk: Disable Guc and HuC on GLK

PATCH In review Anusha Srivatsa 4 participants 7 messages Dec 23, 2017 – Jan 2, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/glk: Disable Guc and HuC on GLK

Since the firmwares are released yet to public repo, disable them on Geminilake.

v2: Remove the firmware versions (Michal)

Cc Michal Wajdeczko <[email protected]>
Cc Rodrigo Vivi <[email protected]>
---
 drivers/gpu/drm/i915/intel_guc_fw.c | 4 ----
 drivers/gpu/drm/i915/intel_huc.c    | 4 ----
 2 files changed, 8 deletions(-)
drivers/gpu/drm/i915/intel_guc_fw.c +0 -4
index cbc51c9..252b475 100644
@@ -82,10 +82,6 @@ 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 {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(guc_fw->type));
drivers/gpu/drm/i915/intel_huc.c +0 -4
index 974be3d..3f28ae0 100644
@@ -103,10 +103,6 @@ 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.7.4

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

✓ Fi.CI.BAT: success for drm/i915/glk: Disable Guc and HuC on GLK (rev3)

== Series Details ==

== Series Details ==

Series: drm/i915/glk: Disable Guc and HuC on GLK (rev3)
URL : https://patchwork.freedesktop.org/series/35381/
State : success

== Summary ==

Series 35381v3 drm/i915/glk: Disable Guc and HuC on GLK
https://patchwork.freedesktop.org/api/1.0/series/35381/revisions/3/mbox/

Test debugfs_test:

        Subgroup read_all_entries:
                dmesg-fail -> DMESG-WARN (fi-elk-e7500) fdo#103989
Test gem_sync:
        Subgroup basic-all:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-each:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-many-each:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-store-all:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-store-each:
                skip       -> PASS       (fi-pnv-d510)
Test gem_tiled_blits:
        Subgroup basic:
                skip       -> PASS       (fi-pnv-d510)
Test gem_tiled_fence_blits:
        Subgroup basic:
                skip       -> PASS       (fi-pnv-d510)
Test gem_wait:
        Subgroup basic-busy-all:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-wait-all:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-await-all:
                skip       -> PASS       (fi-pnv-d510)
Test kms_busy:
        Subgroup basic-flip-a:
                skip       -> PASS       (fi-pnv-d510)
        Subgroup basic-flip-b:
                skip       -> PASS       (fi-pnv-d510)
Test kms_cursor_legacy:
        Subgroup basic-busy-flip-before-cursor-legacy:
                skip       -> PASS       (fi-pnv-d510)

fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989

fi-bdw-5557u     total:288  pass:267  dwarn:0   dfail:0   fail:0   skip:21  time:437s
fi-bdw-gvtdvm    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:441s
fi-blb-e6850     total:288  pass:223  dwarn:1   dfail:0   fail:0   skip:64  time:386s
fi-bsw-n3050     total:288  pass:242  dwarn:0   dfail:0   fail:0   skip:46  time:501s
fi-bwr-2160      total:288  pass:183  dwarn:0   dfail:0   fail:0   skip:105 time:277s
fi-bxt-dsi       total:288  pass:258  dwarn:0   dfail:0   fail:0   skip:30  time:494s
fi-bxt-j4205     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:496s
fi-byt-j1900     total:288  pass:253  dwarn:0   dfail:0   fail:0   skip:35  time:481s
fi-byt-n2820     total:288  pass:249  dwarn:0   dfail:0   fail:0   skip:39  time:470s
fi-elk-e7500     total:224  pass:163  dwarn:15  dfail:0   fail:0   skip:45 
fi-gdg-551       total:288  pass:179  dwarn:0   dfail:0   fail:1   skip:108 time:261s
fi-glk-1         total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:536s
fi-hsw-4770      total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:408s
fi-hsw-4770r     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:416s
fi-ivb-3520m     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:475s
fi-ivb-3770      total:288  pass:255  dwarn:0   dfail:0   fail:0   skip:33  time:427s
fi-kbl-7500u     total:288  pass:263  dwarn:1   dfail:0   fail:0   skip:24  time:483s
fi-kbl-7560u     total:288  pass:268  dwarn:1   dfail:0   fail:0   skip:19  time:518s
fi-kbl-7567u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:464s
fi-kbl-r         total:288  pass:260  dwarn:1   dfail:0   fail:0   skip:27  time:524s
fi-pnv-d510      total:288  pass:222  dwarn:1   dfail:0   fail:0   skip:65  time:581s
fi-skl-6260u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:442s
fi-skl-6600u     total:288  pass:260  dwarn:1   dfail:0   fail:0   skip:27  time:529s
fi-skl-6700hq    total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:555s
fi-skl-6700k2    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:510s
fi-skl-6770hq    total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:496s
fi-skl-gvtdvm    total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:448s
fi-snb-2520m     total:245  pass:211  dwarn:0   dfail:0   fail:0   skip:33 
fi-snb-2600      total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:414s
Blacklisted hosts:
fi-cfl-s2        total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:580s
fi-glk-dsi       total:288  pass:256  dwarn:0   dfail:0   fail:2   skip:30  time:480s

7223e9864a303d6401054b0815acb5262726adf8 drm-tip: 2017y-12m-22d-21h-51m-04s UTC integration manifest b8c004e9988f drm/i915/glk: Disable Guc and HuC on GLK

== Logs ==

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

#2 lore raw

✓ Fi.CI.IGT: success for drm/i915/glk: Disable Guc and HuC on GLK (rev3)

In reply to Anusha Srivatsa
== Series Details ==

== Series Details ==

Series: drm/i915/glk: Disable Guc and HuC on GLK (rev3)
URL : https://patchwork.freedesktop.org/series/35381/
State : success

== Summary ==

Test gem_eio:

        Subgroup in-flight:
                dmesg-warn -> PASS       (shard-snb) fdo#104058
Test pm_rc6_residency:
        Subgroup rc6-accuracy:
                skip       -> PASS       (shard-snb)
Test kms_cursor_crc:
        Subgroup cursor-256x256-suspend:
                skip       -> PASS       (shard-snb) fdo#103375 +1
        Subgroup cursor-size-change:
                skip       -> PASS       (shard-hsw)
Test kms_atomic_transition:
        Subgroup 1x-modeset-transitions-nonblocking-fencing:
                skip       -> PASS       (shard-hsw)
        Subgroup 1x-modeset-transitions-fencing:
                skip       -> PASS       (shard-hsw)
        Subgroup 1x-modeset-transitions-nonblocking:
                skip       -> PASS       (shard-hsw)
Test kms_frontbuffer_tracking:
        Subgroup fbc-1p-primscrn-pri-indfb-draw-mmap-gtt:
                skip       -> PASS       (shard-hsw) fdo#101623 +1
        Subgroup fbc-1p-offscren-pri-shrfb-draw-mmap-wc:
                skip       -> PASS       (shard-hsw) fdo#103167
Test perf:
        Subgroup polling:
                pass       -> FAIL       (shard-hsw) fdo#102252

fdo#104058 https://bugs.freedesktop.org/show_bug.cgi?id=104058
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252

shard-hsw        total:2713 pass:1536 dwarn:1   dfail:0   fail:11  skip:1165 time:9358s
shard-snb        total:2713 pass:1312 dwarn:1   dfail:0   fail:10  skip:1390 time:8120s
Blacklisted hosts:
shard-apl        total:2713 pass:1686 dwarn:1   dfail:0   fail:24  skip:1001 time:13756s
shard-kbl        total:2713 pass:1772 dwarn:36  dfail:0   fail:27  skip:878 time:11245s

== Logs ==

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

Reviewed-by on v1 1/1
#3 lore raw
In reply to Anusha Srivatsa
Quoted 1 line · Anusha Srivatsa

Since the firmwares are released yet to public repo,

                        ^^^

s/released/not released

Quoted 8 lines

disable them on Geminilake.

v2: Remove the firmware versions (Michal)

Cc Michal Wajdeczko <[email protected]>
Cc Rodrigo Vivi <[email protected]>

---

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

#4 lore raw
Quoted 10 lines

-----Original Message-----
From: Wajdeczko, Michal
Sent: Wednesday, December 27, 2017 12:53 PM
To: [email protected]; Srivatsa, Anusha <[email protected]>
Cc: Vivi, Rodrigo <[email protected]>
Subject: Re: [PATCH] drm/i915/glk: Disable Guc and HuC on GLK

Quoted 6 lines
Quoted 1 line · Anusha Srivatsa

Since the firmwares are released yet to public repo,

                        ^^^

s/released/not released

Oooops .... Thanks a lot for the catch.

Anusha

Quoted 9 lines
Quoted 8 lines

disable them on Geminilake.

v2: Remove the firmware versions (Michal)

Cc Michal Wajdeczko <[email protected]>
Cc Rodrigo Vivi <[email protected]>

---

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

maintainer
#5 lore raw
In reply to Anusha Srivatsa
Quoted 8 lines · Anusha Srivatsa

Since the firmwares are released yet to public repo, disable them on Geminilake.

v2: Remove the firmware versions (Michal)

Cc Michal Wajdeczko <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Fixes 90f192c8241e ("drm/i915/GuC/GLK: Load GuC on GLK")
Fixes db5ba0d8931e ("drm/i915/GLK/HuC: Load HuC on GLK")
Cc <[email protected]> # v4.13+

What about a revert on those 2 patches?

I'm fine with one patch approach, but the fixes tag needs to be here anyways.

Quoted 10 lines
---
 drivers/gpu/drm/i915/intel_guc_fw.c | 4 ----
 drivers/gpu/drm/i915/intel_huc.c    | 4 ----
 2 files changed, 8 deletions(-)
drivers/gpu/drm/i915/intel_guc_fw.c +0 -0
index cbc51c9..252b475 100644

drivers/gpu/drm/i915/intel_guc_fw.c static void guc_fw_select(struct intel_uc_fw *guc_fw) · line 88

Quoted 7 lines
drivers/gpu/drm/i915/intel_guc_fw.c +0 -4
@@ -82,10 +82,6 @@ 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;

But also, please it is mandatory to also remove the now unused I915_GLK_GUC_UCODE, GLK_FW_MAJOR, and GLK_FW_MINOR

Quoted 8 lines
drivers/gpu/drm/i915/intel_guc_fw.c +0 -0
 	} else {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(guc_fw->type));
drivers/gpu/drm/i915/intel_huc.c +0 -0
index 974be3d..3f28ae0 100644

drivers/gpu/drm/i915/intel_huc.c static void huc_fw_select(struct intel_uc_fw *huc_fw) · line 109

Quoted 7 lines
drivers/gpu/drm/i915/intel_huc.c +0 -4
@@ -103,10 +103,6 @@ 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;

and unused I915_GLK_HUC_UCODE, GLK_HUC_FW_MAJOR, and GLK_HUC_FW_MINOR.

Quoted 6 lines
drivers/gpu/drm/i915/intel_huc.c +0 -0
 	} else {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(huc_fw->type));
Signature · 1 line
2.7.4

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

#6 lore raw
Quoted 20 lines

-----Original Message-----
From: Vivi, Rodrigo
Sent: Thursday, December 28, 2017 8:08 AM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]; Wajdeczko, Michal <[email protected]>
Subject: Re: [PATCH] drm/i915/glk: Disable Guc and HuC on GLK

Quoted 8 lines · Anusha Srivatsa

Since the firmwares are released yet to public repo, disable them on Geminilake.

v2: Remove the firmware versions (Michal)

Cc Michal Wajdeczko <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Quoted 5 lines
Fixes 90f192c8241e ("drm/i915/GuC/GLK: Load GuC on GLK")
Fixes db5ba0d8931e ("drm/i915/GLK/HuC: Load HuC on GLK")
Cc <[email protected]> # v4.13+

What about a revert on those 2 patches?

Revert touches source files which no longer .... I would prefer having this patch instead.

Quoted 1 line

I'm fine with one patch approach, but the fixes tag needs to be here anyways.

Yes, thanks for pointing the suitable tags.

Quoted 5 lines
Quoted 5 lines
---
 drivers/gpu/drm/i915/intel_guc_fw.c | 4 ----
 drivers/gpu/drm/i915/intel_huc.c    | 4 ----
 2 files changed, 8 deletions(-)
Quoted 16 lines

drivers/gpu/drm/i915/intel_guc_fw.c static void guc_fw_select(struct intel_uc_fw *guc_fw) · line 88

Quoted 13 lines
drivers/gpu/drm/i915/intel_guc_fw.c +0 -4
index cbc51c9..252b475 100644
@@ -82,10 +82,6 @@ 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;

But also, please it is mandatory to also remove the now unused I915_GLK_GUC_UCODE, GLK_FW_MAJOR, and GLK_FW_MINOR

Will change in next revision.
Thanks a lot for the feedback.

Quoted 11 lines
Quoted 11 lines
drivers/gpu/drm/i915/intel_guc_fw.c +0 -0
 	} else {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(guc_fw->type));
drivers/gpu/drm/i915/intel_huc.c +0 -0
index 974be3d..3f28ae0 100644
@@ -103,10 +103,6 @@ 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;
Quoted 8 lines

drivers/gpu/drm/i915/intel_huc.c static void huc_fw_select(struct intel_uc_fw *huc_fw) · line 109

Quoted 5 lines
drivers/gpu/drm/i915/intel_huc.c +0 -4
 		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;

and unused I915_GLK_HUC_UCODE, GLK_HUC_FW_MAJOR, and GLK_HUC_FW_MINOR.

Sure.

BR,
Anusha

Quoted 6 lines
Quoted 6 lines
drivers/gpu/drm/i915/intel_huc.c +0 -1
 	} else {
 		DRM_WARN("%s: No firmware known for this platform!\n",
 			 intel_uc_fw_type_repr(huc_fw->type));
--

2.7.4

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