From: Arun Siluvery <arun.siluvery@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Subject: [PATCH 4/6] drm/i915/bxt: Update WaSetHDCunitClckGatingDisable
Date: Tue, 8 Sep 2015 10:31:51 +0100 [thread overview]
Message-ID: <1441704713-21575-4-git-send-email-arun.siluvery@linux.intel.com> (raw)
In-Reply-To: <1441704713-21575-1-git-send-email-arun.siluvery@linux.intel.com>
As per spec this is applicable to 3x6 SKUs only, add condition to
check the same.
Cc: Nick Hoath <nicholas.hoath@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
---
drivers/gpu/drm/i915/intel_pm.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 0f6588c..bfce904 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -119,12 +119,12 @@ static void bxt_init_clock_gating(struct drm_device *dev)
gen9_init_clock_gating(dev);
- /*
- * FIXME:
- * GEN8_HDCUNIT_CLOCK_GATE_DISABLE_HDCREQ applies on 3x6 GT SKUs only.
- */
- I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
- GEN8_HDCUNIT_CLOCK_GATE_DISABLE_HDCREQ);
+ /* WaSetHDCunitClckGatingDisable:bxt */
+ /* as per spec this is applicable to 3x6 GT SKUs only */
+ if (INTEL_INFO(dev)->subslice_total == 3) {
+ I915_WRITE(GEN8_UCGCTL6, (I915_READ(GEN8_UCGCTL6) |
+ GEN8_HDCUNIT_CLOCK_GATE_DISABLE_HDCREQ));
+ }
if (INTEL_REVID(dev) == BXT_REVID_A0) {
/*
--
1.9.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev 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 ` Arun Siluvery [this message]
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 ` [PATCH 6/6] drm/i915/gen9: Add WaDisableMinuteIaClockGating Arun Siluvery
2015-09-08 10:14 ` 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-4-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