summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2017-08-09 13:52:44 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2017-08-10 13:59:27 -0700
commit019718196c594d2e33cc371cbbcccb84735e6ada (patch)
treefa33f745007a121478e9df55c92016f992ffdfc2
parent50682ee63fa3480b0541d0a311239189634b68ab (diff)
downloadlinux-stable-019718196c594d2e33cc371cbbcccb84735e6ada.tar.gz
linux-stable-019718196c594d2e33cc371cbbcccb84735e6ada.tar.bz2
linux-stable-019718196c594d2e33cc371cbbcccb84735e6ada.zip
drm/i915/cnl: Enable SAGV for Cannonlake.
For now inherit from previous platforms. v2: Rebase on top of CFL. Cc: Mahesh Kumar <mahesh1.kumar@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170809205248.11917-2-rodrigo.vivi@intel.com
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 04697faee4e6..52bf62b6e38c 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3571,7 +3571,8 @@ static bool skl_needs_memory_bw_wa(struct intel_atomic_state *state)
static bool
intel_has_sagv(struct drm_i915_private *dev_priv)
{
- if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv))
+ if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv) ||
+ IS_CANNONLAKE(dev_priv))
return true;
if (IS_SKYLAKE(dev_priv) &&