@@ -415,6 +415,7 @@
.platform = INTEL_KABYLAKE, \
.has_csr = 1, \
.has_guc = 1, \
+ .has_slpc = 1, \
.ddb_size = 896
static const struct intel_device_info intel_kabylake_info = {
@@ -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;
Adds has_slpc to kabylake info and adds kabylake firmware version check to sanitize_slpc_option. Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@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(-)