diff options
author | Peter Antoine <peter.antoine@intel.com> | 2016-06-30 12:37:52 -0400 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-07-04 06:21:29 -0400 |
commit | ff64cc16e25dbfdf36c7e1489b0ad2a90e8c48d1 (patch) | |
tree | 717c8bb46bface120a0dd3aac678fff42c11bcd3 /drivers | |
parent | 6f8be28012f46352e5e54752a00946901a926c03 (diff) |
i915/guc: Add Kabylake GuC Loading
This patch added the loading of the GuC for Kabylake.
It loads a 9.14 firmware.
v2: Fix commit message
v3: Fix major/minor var names to match -nightly. (Rodrigo)
Cc: Christophe Prigent <christophe.prigent@intel.com>
Signed-off-by: Peter Antoine <peter.antoine@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com> (v3)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467304672-2106-1-git-send-email-rodrigo.vivi@intel.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_guc_loader.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c index 4f6311a91a7e..d80b617ad9af 100644 --- a/drivers/gpu/drm/i915/intel_guc_loader.c +++ b/drivers/gpu/drm/i915/intel_guc_loader.c | |||
@@ -65,6 +65,9 @@ MODULE_FIRMWARE(I915_SKL_GUC_UCODE); | |||
65 | #define I915_BXT_GUC_UCODE "i915/bxt_guc_ver8_7.bin" | 65 | #define I915_BXT_GUC_UCODE "i915/bxt_guc_ver8_7.bin" |
66 | MODULE_FIRMWARE(I915_BXT_GUC_UCODE); | 66 | MODULE_FIRMWARE(I915_BXT_GUC_UCODE); |
67 | 67 | ||
68 | #define I915_KBL_GUC_UCODE "i915/kbl_guc_ver9_14.bin" | ||
69 | MODULE_FIRMWARE(I915_KBL_GUC_UCODE); | ||
70 | |||
68 | /* User-friendly representation of an enum */ | 71 | /* User-friendly representation of an enum */ |
69 | const char *intel_guc_fw_status_repr(enum intel_guc_fw_status status) | 72 | const char *intel_guc_fw_status_repr(enum intel_guc_fw_status status) |
70 | { | 73 | { |
@@ -698,6 +701,10 @@ void intel_guc_init(struct drm_device *dev) | |||
698 | fw_path = I915_BXT_GUC_UCODE; | 701 | fw_path = I915_BXT_GUC_UCODE; |
699 | guc_fw->guc_fw_major_wanted = 8; | 702 | guc_fw->guc_fw_major_wanted = 8; |
700 | guc_fw->guc_fw_minor_wanted = 7; | 703 | guc_fw->guc_fw_minor_wanted = 7; |
704 | } else if (IS_KABYLAKE(dev)) { | ||
705 | fw_path = I915_KBL_GUC_UCODE; | ||
706 | guc_fw->guc_fw_major_wanted = 9; | ||
707 | guc_fw->guc_fw_minor_wanted = 14; | ||
701 | } else { | 708 | } else { |
702 | fw_path = ""; /* unknown device */ | 709 | fw_path = ""; /* unknown device */ |
703 | } | 710 | } |