public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/guc: Load GuC on Coffee Lake
@ 2017-06-08 23:48 Anusha Srivatsa
  2017-06-08 23:48 ` [PATCH 2/2] drm/i915/huc: Load HuC " Anusha Srivatsa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Anusha Srivatsa @ 2017-06-08 23:48 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi

Coffee Lake reuses Kabylake's GuC.

v2: Change Coffeelake to Coffee Lake

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
---
 drivers/gpu/drm/i915/i915_pci.c         | 1 +
 drivers/gpu/drm/i915/intel_guc_loader.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 03a495e..418072a 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -427,6 +427,7 @@ static const struct intel_device_info intel_kabylake_gt3_info = {
 	BDW_FEATURES, \
 	.gen = 9, \
 	.platform = INTEL_COFFEELAKE, \
+	.has_guc = 1, \
 	.ddb_size = 896
 
 static const struct intel_device_info intel_coffeelake_info = {
diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c
index d9045b6..8b0ae7f 100644
--- a/drivers/gpu/drm/i915/intel_guc_loader.c
+++ b/drivers/gpu/drm/i915/intel_guc_loader.c
@@ -402,7 +402,7 @@ int intel_guc_select_fw(struct intel_guc *guc)
 		guc->fw.path = I915_BXT_GUC_UCODE;
 		guc->fw.major_ver_wanted = BXT_FW_MAJOR;
 		guc->fw.minor_ver_wanted = BXT_FW_MINOR;
-	} else if (IS_KABYLAKE(dev_priv)) {
+	} else if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv)) {
 		guc->fw.path = I915_KBL_GUC_UCODE;
 		guc->fw.major_ver_wanted = KBL_FW_MAJOR;
 		guc->fw.minor_ver_wanted = KBL_FW_MINOR;
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-09 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08 23:48 [PATCH 1/2] drm/i915/guc: Load GuC on Coffee Lake Anusha Srivatsa
2017-06-08 23:48 ` [PATCH 2/2] drm/i915/huc: Load HuC " Anusha Srivatsa
2017-06-09 12:03   ` Fiedorowicz, Lukasz
2017-06-09 19:06     ` Rodrigo Vivi
2017-06-09  0:17 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/guc: Load GuC " Patchwork
2017-06-09 12:03 ` [PATCH 1/2] " Fiedorowicz, Lukasz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox