Adds has_slpc to kabylake info.

Signed-off-by: Sagar Arun Kamble <sagar.a.kam...@intel.com>
---
 drivers/gpu/drm/i915/i915_pci.c   | 1 +
 drivers/gpu/drm/i915/intel_slpc.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 026dc0c..d89d6fc 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -502,6 +502,7 @@
        .platform = INTEL_KABYLAKE, \
        .has_csr = 1, \
        .has_guc = 1, \
+       .has_slpc = 1, \
        .has_ipc = 1, \
        .ddb_size = 896
 
diff --git a/drivers/gpu/drm/i915/intel_slpc.c 
b/drivers/gpu/drm/i915/intel_slpc.c
index 512d88b..b723b46 100644
--- a/drivers/gpu/drm/i915/intel_slpc.c
+++ b/drivers/gpu/drm/i915/intel_slpc.c
@@ -71,9 +71,9 @@ static unsigned int slpc_get_platform_sku(struct 
drm_i915_private *dev_priv)
 {
        enum slpc_platform_sku platform_sku;
 
-       if (IS_SKL_ULX(dev_priv))
+       if (IS_SKL_ULX(dev_priv) || IS_KBL_ULX(dev_priv))
                platform_sku = SLPC_PLATFORM_SKU_ULX;
-       else if (IS_SKL_ULT(dev_priv))
+       else if (IS_SKL_ULT(dev_priv) || IS_KBL_ULT(dev_priv))
                platform_sku = SLPC_PLATFORM_SKU_ULT;
        else
                platform_sku = SLPC_PLATFORM_SKU_DT;
-- 
1.9.1

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

Reply via email to