drm/i915/kbl: drm/i915: Avoid GuC loading for now on Kabylake.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 9 Dec 2015 00:58:38 +0000 (16:58 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 9 Dec 2015 01:04:32 +0000 (17:04 -0800)
GuC has no version for KBL published yet and it is not recommended
to load the Skylake one, so let's avoid loading this for now while
we don't have the proper GuC firmware for Kabylake.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Alex Dai <yu.dai@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449622718-21684-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_drv.h

index 135759221a79e8518098b57bb38b377c6ca0bad1..6dee97c0d5d03cefa8a6f20e3ac8821a27cef139 100644 (file)
@@ -2598,8 +2598,8 @@ struct drm_i915_cmd_table {
 
 #define HAS_CSR(dev)   (IS_GEN9(dev))
 
-#define HAS_GUC_UCODE(dev)     (IS_GEN9(dev))
-#define HAS_GUC_SCHED(dev)     (IS_GEN9(dev))
+#define HAS_GUC_UCODE(dev)     (IS_GEN9(dev) && !IS_KABYLAKE(dev))
+#define HAS_GUC_SCHED(dev)     (IS_GEN9(dev) && !IS_KABYLAKE(dev))
 
 #define HAS_RESOURCE_STREAMER(dev) (IS_HASWELL(dev) || \
                                    INTEL_INFO(dev)->gen >= 8)