diff options
author | Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> | 2020-05-14 09:48:53 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-05-14 18:08:30 +0200 |
commit | 8ca6d0237d1696060cd4f5a3ee93ee001c1a9d5b (patch) | |
tree | 97ff23a535abf9dcd0c8851a860936117bc0bcef /drivers/gpu | |
parent | drm/i915: Restrict qgv points which don't have enough bandwidth. (diff) | |
download | linux-8ca6d0237d1696060cd4f5a3ee93ee001c1a9d5b.tar.xz linux-8ca6d0237d1696060cd4f5a3ee93ee001c1a9d5b.zip |
drm/i915: Enable SAGV support for Gen12
Flip the switch and enable SAGV support
for Gen12 also.
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200514074853.9508-4-stanislav.lisovskiy@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 68d88634bc29..696491d71a1d 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3638,10 +3638,6 @@ 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; } |