Re: [lkp] [drm/i915/huc] 0a9a963e36: [drm:intel_uc_fw_fetch [i915]] *ERROR* Failed to fetch GuC firmware from i915/skl_huc_ver01_07_1398.bin (error -2)

From: Peter Antoine
Date: Mon Jul 11 2016 - 10:22:10 EST



Yes, this line:
*ERROR* Failed to fetch HuC firmware from i915/skl_huc_ver01_07_1398.bin

means that it failed to find the firmware.

If you are using the HuC (only require for some extra media codecs) then you may need to update libraries as well as installing the firmware. If you are just testing the patches then you can just ignore this error.

Peter.

On Mon, 11 Jul 2016, Ye Xiaolong wrote:

On Mon, Jul 11, 2016 at 03:17:01PM +0800, Antoine, Peter wrote:
Do you have the firmware package for the SKL huc?

Sorry, no, is this error log due to lack of the firmware?

Thanks,
Xiaolong

Peter
-----Original Message-----
From: lkp-request@xxxxxxxxxxxxxxxxx [mailto:lkp-request@xxxxxxxxxxxxxxxxx] On Behalf Of Ye, Xiaolong
Sent: Monday, July 11, 2016 2:40 AM
To: Antoine, Peter <peter.antoine@xxxxxxxxx>
Cc: Wu, Fengguang <fengguang.wu@xxxxxxxxx>; Alex Dai <yu.dai@xxxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>; lkp@xxxxxx
Subject: [lkp] [drm/i915/huc] 0a9a963e36: [drm:intel_uc_fw_fetch [i915]] *ERROR* Failed to fetch GuC firmware from i915/skl_huc_ver01_07_1398.bin (error -2)


FYI, we noticed the following commit:

https://github.com/0day-ci/linux Peter-Antoine/drm-i915-guc-Make-the-GuC-fw-loading-helper-functions-general/20160706-223108
commit 0a9a963e364435950699fee4b8e76cd9b01889f4 ("drm/i915/huc: Add HuC fw loading support")

in testcase: xsave-test
with following parameters:

on test machine: 8 threads Skylake with 8G memory

caused below changes:



[ 204.239941] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
[ 204.240249] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 204.240749] i915 0000:00:02.0: Direct firmware load for i915/skl_huc_ver01_07_1398.bin failed with error -2 [ 204.240775] [drm:intel_uc_fw_fetch [i915]] *ERROR* Failed to fetch GuC firmware from i915/skl_huc_ver01_07_1398.bin (error -2) [ 204.240780] i915 0000:00:02.0: Direct firmware load for i915/skl_guc_ver6_1.bin failed with error -2 [ 204.240797] [drm:intel_uc_fw_fetch [i915]] *ERROR* Failed to fetch GuC firmware from i915/skl_guc_ver6_1.bin (error -2) [ 204.263705] [drm] GuC firmware load failed: -5 [ 204.263705] [drm] Falling back from GuC submission to execlist mode [ 204.286539] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)



To reproduce:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml



Thanks,
Xiaolong


--
Peter Antoine (Android Graphics Driver Software Engineer)
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47