[PATCH 29/31] drm/i915/slpc: Add Broxton SLPC support

Sagar Arun Kamble
2017-09-19T17:39:37Z

From: Tom O'Rourke <Tom.O'Rourke@intel.com>

Adds has_slpc to broxton info.

v1: Adjusted slpc version check for major version 8.
Added message if version mismatch happens for easier debug. (Sagar)

v2-v3: Rebase.

v4: Commit message update.

v5: Rebase. Updated check in sanitize_slpc_option.

Signed-off-by: Tom O'Rourke <Tom.O'Rourke@intel.com>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
---
drivers/gpu/drm/i915/i915_pci.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 26eb673..026dc0c 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -484,6 +484,7 @@

static const struct intel_device_info intel_broxton_info __initconst = {
GEN9_LP_FEATURES,
+ .has_slpc = 1,
.platform = INTEL_BROXTON,
.ddb_size = 512,
};