Patch "drm/i915/glk: Disable Guc and HuC on GLK" has been added to the 4.15-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/i915/glk: Disable Guc and HuC on GLK
to the 4.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-glk-disable-guc-and-huc-on-glk.patch
and it can be found in the queue-4.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
2afba81c7909ac259720c0d3e7616cf54d4a5368Mon Sep 17 00:00:00 2001
From: Anusha Srivatsa <[email protected]>
Date: Wed, 3 Jan 2018 11:03:45 -0800
Subject: drm/i915/glk: Disable Guc and HuC on GLK
From: Anusha Srivatsa <[email protected]>
commit 2afba81c7909ac259720c0d3e7616cf54d4a5368 upstream.
Since the firmwares are not yet released to public repo, disable them on Geminilake.
v2: Remove the firmware versions (Michal)
v3: Remove unwanted defines (Rodrigo)
Correct commit message (Michal)
--- drivers/gpu/drm/i915/intel_guc_fw.c | 9 --------- drivers/gpu/drm/i915/intel_huc.c | 11 ----------- 2 files changed, 20 deletions(-)
drivers/gpu/drm/i915/intel_guc_fw.c +0 -9
@@ -39,9 +39,6 @@#define KBL_FW_MAJOR 9#define KBL_FW_MINOR 14 -#define GLK_FW_MAJOR 10 -#define GLK_FW_MINOR 56 -#define GUC_FW_PATH (platform, major, minor) \ "i915/" __stringify(platform) "_guc_ver" __stringify(major) "_" __stringify(minor) ".bin"
@@ -54,8 +51,6 @@ 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) -/** * intel_guc_fw_select() - selects GuC firmware for uploading *
@@ -85,10 +80,6 @@ int intel_guc_fw_select(struct intel_guc 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_ERROR ("No GuC firmware known for platform with GuC!\n" );return -ENOENT ;
drivers/gpu/drm/i915/intel_huc.c +0 -11
@@ -54,10 +54,6 @@#define KBL_HUC_FW_MINOR 00#define KBL_BLD_NUM 1810 -#define GLK_HUC_FW_MAJOR 02 -#define GLK_HUC_FW_MINOR 00 -#define GLK_BLD_NUM 1748 -#define HUC_FW_PATH (platform, major, minor, bld_num) \ "i915/" __stringify(platform) "_huc_ver" __stringify(major) "_" \ __stringify(minor) "_" __stringify(bld_num) ".bin"
@@ -74,9 +70,6 @@ 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) -/** * intel_huc_select_fw() - selects HuC firmware for loading * @huc: intel_huc struct
@@ -103,10 +96,6 @@ void intel_huc_select_fw(struct intel_hu 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_ERROR ("No HuC firmware known for platform with HuC!\n" );return ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.15/drm-i915-glk-disable-guc-and-huc-on-glk.patch