diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-09-04 14:34:18 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2019-09-04 17:08:11 -0700 |
commit | 8ffa4392a32e27b3945b8c0585550d3dd831c68b (patch) | |
tree | 228d7421d7b8df4cd12bc4ced643555382d0a773 /drivers/gpu/drm/i915 | |
parent | 4444df6e205bc1dc16ba112588815defe3c5a724 (diff) | |
download | linux-stable-8ffa4392a32e27b3945b8c0585550d3dd831c68b.tar.gz linux-stable-8ffa4392a32e27b3945b8c0585550d3dd831c68b.tar.bz2 linux-stable-8ffa4392a32e27b3945b8c0585550d3dd831c68b.zip |
drm/i915/tgl: disable SAGV temporarily
SAGV is not currently working for Tiger Lake. We better disable it until
the implementation is stabilized and we can enable it.
HSDES: 1409542895 2208191909
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190904213419.27547-6-jose.souza@intel.com
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 4fa9bc83c8b4..7294fcf05323 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3654,6 +3654,10 @@ static bool skl_needs_memory_bw_wa(struct drm_i915_private *dev_priv) static bool intel_has_sagv(struct drm_i915_private *dev_priv) { + /* HACK! */ + if (IS_GEN(dev_priv, 12)) + return false; + return (IS_GEN9_BC(dev_priv) || INTEL_GEN(dev_priv) >= 10) && dev_priv->sagv_status != I915_SAGV_NOT_CONTROLLED; } |