[Bug 97253] New: [KBL] GuC 9.14 does not load

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 9 08:55:56 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97253

            Bug ID: 97253
           Summary: [KBL] GuC 9.14 does not load
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: christophe.prigent at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 125626
  --> https://bugs.freedesktop.org/attachment.cgi?id=125626&action=edit
kbl_guc-does-not-load_dmesg

Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from
https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/
  commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc
  Author: Daniel Vetter <daniel.vetter at ffwll.ch>
  Date:   Mon Aug 8 11:02:44 2016 +0200
  drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest
drm: libdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-502 c833c08 from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-691 a77397a from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-66 fb7d6f5 from
git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from
http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 

Steps:
------
1. Boot with kernel boot command lines:
i915.enable_guc_loading=2 i915.enable_guc_submission=2
2. Check GuC status: 
dmesg |grep guc

Actual result:
--------------
2. GuC 9.14 does not load

Expected result:
----------------
2. GuC successfully loads

Output
------
[    4.929818] Setting dangerous option enable_guc_loading - tainting kernel
[    4.929819] Setting dangerous option enable_guc_submission - tainting kernel
[    5.256050] [drm:intel_guc_init] GuC firmware pending, path
i915/kbl_guc_ver9_14.bin
[    5.256050] [drm:guc_fw_fetch] before requesting firmware: GuC fw fetch
status PENDING
[    5.256084] [drm:guc_fw_fetch] fetch GuC fw from i915/kbl_guc_ver9_14.bin
succeeded, fw ffff8801de1d96c0
[    5.256085] [drm:guc_fw_fetch] firmware version 9.14 OK (minimum 9.14)
[    5.256120] [drm:guc_fw_fetch] GuC fw fetch status SUCCESS, obj
ffff8801de37c500
[    5.259202] [drm:intel_guc_setup] GuC fw status: path
i915/kbl_guc_ver9_14.bin, fetch SUCCESS, load NONE
[    5.259208] [drm:intel_guc_setup] GuC fw status: fetch SUCCESS, load PENDING
[    5.365875] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.365876] [drm:guc_ucode_xfer_dma] returning -110
[    5.474950] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.474951] [drm:guc_ucode_xfer_dma] returning -110
[    5.582389] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.582391] [drm:guc_ucode_xfer_dma] returning -110
[    5.582465] [drm:intel_guc_setup [i915]] *ERROR* GuC firmware load failed:
-110
[    5.582489] [drm:intel_guc_setup [i915]] *ERROR* GuC init failed: -5

Reproduced with 
Kernel: 4.7.0 6f87e85 from http://cgit.freedesktop.org/drm-intel/
  commit 6f87e85fa302ffdb4cb9f4cd712691165923c7a2
  Author: Chris Wilson <chris at chris-wilson.co.uk>
  Date:   Mon Aug 1 15:53:41 2016 +0100
  drm-intel-nightly: 2016y-08m-01d-14h-53m-17s UTC integration manifest

Reproduced (with our without the guc command lines) after I modified
drivers/gpu/drm/i915/i915_params.c like this:
struct i915_params i915 __read_mostly = {
        …
        .enable_guc_loading = -1,
        .enable_guc_submission = -1,
        .guc_log_level = -1,
        …
};

module_param_named_unsafe(enable_guc_loading, i915.enable_guc_loading, int,
0400);
MODULE_PARM_DESC(enable_guc_loading,
                "Enable GuC firmware loading "
                "(-1=auto [default], 0=never, 1=if available, 2=required)");

module_param_named_unsafe(enable_guc_submission, i915.enable_guc_submission,
int, 0400);
MODULE_PARM_DESC(enable_guc_submission,
                "Enable GuC submission "
            "(-1=auto [default], 0=never, 1=if available, 2=required)");

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160809/a502874b/attachment.html>


More information about the intel-gfx-bugs mailing list