drm/i915/guc: Define GuC firmware version for Comet Lake
Subsystems (2)
PATCH 1/1 drm/i915/guc: Define GuC firmware version for Comet Lake
Load GuC for Comet Lake. Depending on the REVID, we load either the KBL firmware or the CML firmware.
v2: Use CFL for CML platform check.(Michal)
v3: Use >=5 for future proofing(Michal, Daniele)
v4: rebased.
--- drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c +18 -1
@@ -52,6 +52,13 @@ MODULE_FIRMWARE(SKL_GUC_FIRMWARE_PATH);#define BXT_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(BXT)MODULE_FIRMWARE (BXT_GUC_FIRMWARE_PATH ); +#define CML_GUC_FW_PREFIX cml +#define CML_GUC_FW_MAJOR 33 +#define CML_GUC_FW_MINOR 0 +#define CML_GUC_FW_PATCH 0 +#define CML_GUC_FIRMWARE_PATH __MAKE_GUC_FW_PATH(CML) +MODULE_FIRMWARE (CML_GUC_FIRMWARE_PATH ); +#define KBL_GUC_FW_PREFIX kbl#define KBL_GUC_FW_MAJOR 33#define KBL_GUC_FW_MINOR 0
@@ -99,7 +106,17 @@ static void guc_fw_select(struct intel_uc_fw *guc_fw) guc_fw->path =GLK_GUC_FIRMWARE_PATH ; guc_fw->major_ver_wanted =GLK_GUC_FW_MAJOR ; guc_fw->minor_ver_wanted =GLK_GUC_FW_MINOR ; - }else if (IS_KABYLAKE (i915) ||IS_COFFEELAKE (i915)) { + }else if (IS_COFFEELAKE (i915)) { +if (INTEL_REVID (i915) >=5 ) { + guc_fw->path =CML_GUC_FIRMWARE_PATH ; + guc_fw->major_ver_wanted =CML_GUC_FW_MAJOR ; + guc_fw->minor_ver_wanted =CML_GUC_FW_MINOR ; + }else { + guc_fw->path =KBL_GUC_FIRMWARE_PATH ; + guc_fw->major_ver_wanted =KBL_GUC_FW_MAJOR ; + guc_fw->minor_ver_wanted =KBL_GUC_FW_MINOR ; + } + }else if (IS_KABYLAKE (i915)) { guc_fw->path =KBL_GUC_FIRMWARE_PATH ; guc_fw->major_ver_wanted =KBL_GUC_FW_MAJOR ; guc_fw->minor_ver_wanted =KBL_GUC_FW_MINOR ;
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915/guc: Define GuC firmware version for Comet Lake (rev4)
== Series Details ==
== Series Details ==
Series: drm/i915/guc: Define GuC firmware version for Comet Lake (rev4)
URL : https://patchwork.freedesktop.org/series/62969/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_6488 -> Patchwork_13662
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_13662 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_13662, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_13662:
### IGT changes ###
#### Possible regressions ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-kbl-7500u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-kbl-7500u/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_13662 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@gem_ctx_exec@basic:
- fi-icl-u3: [DMESG-WARN][3] ([fdo#107724]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_execlists:
- fi-skl-gvtdvm: [DMESG-FAIL][5] ([fdo#111108]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [FAIL][7] ([fdo#109635 ]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-icl-u2/igt@[email protected]
- fi-cml-u2: [FAIL][9] ([fdo#110627]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-cml-u2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-cml-u2/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- fi-ilk-650: [DMESG-WARN][11] ([fdo#106387]) -> [PASS][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6488/fi-ilk-650/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/fi-ilk-650/igt@[email protected]
[fdo#106387]: https://bugs.freedesktop.org/show_bug.cgi?id=106387
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
[fdo#111108]: https://bugs.freedesktop.org/show_bug.cgi?id=111108
Participating hosts (54 -> 46)
------------------------------
Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-icl-guc fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6488 -> Patchwork_13662
CI_DRM_6488: bbf4d95db6732b16547dc9d849701ccf4189aa0d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5098: 41ff022b62b45a5b84504daa3537fa1b295b97c9 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13662: 173d0339dd7fcbd59cbfdf82ae5d9dd7336a60ab @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
173d0339dd7f drm/i915/guc: Define GuC firmware version for Comet Lake
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13662/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx