public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Arun Siluvery <arun.siluvery@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Subject: [PATCH 6/6] drm/i915/gen9: Add WaDisableMinuteIaClockGating
Date: Tue,  8 Sep 2015 10:31:53 +0100	[thread overview]
Message-ID: <1441704713-21575-6-git-send-email-arun.siluvery@linux.intel.com> (raw)
In-Reply-To: <1441704713-21575-1-git-send-email-arun.siluvery@linux.intel.com>

From: Nick Hoath <nicholas.hoath@intel.com>

Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_guc_loader.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c
index 5eafd31..e0601cc 100644
--- a/drivers/gpu/drm/i915/intel_guc_loader.c
+++ b/drivers/gpu/drm/i915/intel_guc_loader.c
@@ -330,6 +330,13 @@ static int guc_ucode_xfer(struct drm_i915_private *dev_priv)
 	/* Enable MIA caching. GuC clock gating is disabled. */
 	I915_WRITE(GUC_SHIM_CONTROL, GUC_SHIM_CONTROL_VALUE);
 
+	/* WaDisableMinuteIaClockGating:skl,bxt */
+	if ((IS_SKYLAKE(dev) && INTEL_REVID(dev) <= SKL_REVID_B0) ||
+	    (IS_BROXTON(dev) && INTEL_REVID(dev) == BXT_REVID_A0)) {
+		I915_WRITE(GUC_SHIM_CONTROL, (I915_READ(GUC_SHIM_CONTROL) &
+					      ~GUC_ENABLE_MIA_CLOCK_GATING));
+	}
+
 	/* WaC6DisallowByGfxPause*/
 	I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
 
-- 
1.9.1

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

  parent reply	other threads:[~2015-09-08  9:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08  9:31 [PATCH 1/6] drm/i915/gen9: Add WaDisableSamplerPowerBypassForSOPingPong Arun Siluvery
2015-09-08  9:31 ` [PATCH 2/6] drm/i915/bxt: Add WaSetClckGatingDisableMedia Arun Siluvery
2015-09-12 16:03   ` Kamble, Sagar A
2015-09-08  9:31 ` [PATCH 3/6] drm/i915/gen9: Update WaDisableSDEUnitClockGating Arun Siluvery
2015-09-08  9:31 ` [PATCH 4/6] drm/i915/bxt: Update WaSetHDCunitClckGatingDisable Arun Siluvery
2015-09-08  9:31 ` [PATCH 5/6] drm/i915/gen9: WA ST Unit Power Optimization Disable Arun Siluvery
2015-09-12 16:52   ` Kamble, Sagar A
2015-09-14  9:25     ` Arun Siluvery
2015-09-14 14:51       ` Kamble, Sagar A
2015-09-14 14:59         ` Daniel Vetter
2015-09-08  9:31 ` Arun Siluvery [this message]
2015-09-08 10:14   ` [PATCH 6/6] drm/i915/gen9: Add WaDisableMinuteIaClockGating Kamble, Sagar A
2015-09-08 10:19   ` Kamble, Sagar A
2015-09-12 17:56   ` Kamble, Sagar A
2015-09-14  8:49     ` Daniel Vetter
2015-09-12 15:39 ` [PATCH 1/6] drm/i915/gen9: Add WaDisableSamplerPowerBypassForSOPingPong Kamble, Sagar A

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=1441704713-21575-6-git-send-email-arun.siluvery@linux.intel.com \
    --to=arun.siluvery@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mika.kuoppala@intel.com \
    /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