Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH v12 3/3] drm/i915: Enable SAGV support for Gen12
Date: Thu, 12 Dec 2019 14:40:15 +0200	[thread overview]
Message-ID: <20191212124015.24077-4-stanislav.lisovskiy@intel.com> (raw)
In-Reply-To: <20191212124015.24077-1-stanislav.lisovskiy@intel.com>

Flip the switch and enable SAGV support
for Gen12 also.

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index c3a8b3a8afb0..cf323e0781a8 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3633,10 +3633,6 @@ static bool skl_needs_memory_bw_wa(struct drm_i915_private *dev_priv)
 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;
 }
-- 
2.17.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-12-12 12:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12 12:40 [Intel-gfx] [PATCH v12 0/3] Refactor Gen11+ SAGV support Stanislav Lisovskiy
2019-12-12 12:40 ` [Intel-gfx] [PATCH v12 1/3] drm/i915: Refactor intel_can_enable_sagv Stanislav Lisovskiy
2019-12-12 12:40 ` [Intel-gfx] [PATCH v12 2/3] drm/i915: Restrict qgv points which don't have enough bandwidth Stanislav Lisovskiy
2019-12-12 12:40 ` Stanislav Lisovskiy [this message]
2019-12-12 17:20 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Refactor Gen11+ SAGV support (rev13) Patchwork
2019-12-12 17:23 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2019-12-12 17:43 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2019-12-13 10:32 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2019-12-13 14:12 [Intel-gfx] [PATCH v12 0/3] Refactor Gen11+ SAGV support Stanislav Lisovskiy
2019-12-13 14:12 ` [Intel-gfx] [PATCH v12 3/3] drm/i915: Enable SAGV support for Gen12 Stanislav Lisovskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191212124015.24077-4-stanislav.lisovskiy@intel.com \
    --to=stanislav.lisovskiy@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox