All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kamble, Sagar A" <sagar.a.kamble@intel.com>
To: Arun Siluvery <arun.siluvery@linux.intel.com>,
	intel-gfx@lists.freedesktop.org
Cc: "Hiremath, Shashidhar" <shashidhar.hiremath@intel.com>,
	Mika Kuoppala <mika.kuoppala@intel.com>
Subject: Re: [PATCH 2/6] drm/i915/bxt: Add WaSetClckGatingDisableMedia
Date: Sat, 12 Sep 2015 21:33:34 +0530	[thread overview]
Message-ID: <55F44CD6.7030408@intel.com> (raw)
In-Reply-To: <1441704713-21575-2-git-send-email-arun.siluvery@linux.intel.com>

Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>

On 9/8/2015 3:01 PM, Arun Siluvery wrote:
> Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
> ---
>   drivers/gpu/drm/i915/i915_reg.h | 1 +
>   drivers/gpu/drm/i915/intel_pm.c | 6 ++++++
>   2 files changed, 7 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 84ed9ab..2c719b0 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -6894,6 +6894,7 @@ enum skl_disp_power_wells {
>   #define   GEN7_DOP_CLOCK_GATE_ENABLE		(1<<0)
>   #define   GEN8_DOP_CLOCK_GATE_CFCLK_ENABLE	(1<<2)
>   #define   GEN8_DOP_CLOCK_GATE_GUC_ENABLE	(1<<4)
> +#define   GEN8_DOP_CLOCK_GATE_MEDIA_ENABLE     (1<<6)
>   
>   #define GEN8_GARBCNTL                   0xB004
>   #define   GEN9_GAPS_TSV_CREDIT_DISABLE  (1<<7)
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 64bc77e..920872a 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -134,6 +134,12 @@ static void bxt_init_clock_gating(struct drm_device *dev)
>   		 */
>   		I915_WRITE(TILECTL, I915_READ(TILECTL) | TILECTL_TLBPF);
>   	}
> +
> +	/* WaSetClckGatingDisableMedia:bxt */
> +	if (INTEL_REVID(dev) == BXT_REVID_A0) {
> +		I915_WRITE(GEN7_MISCCPCTL, (I915_READ(GEN7_MISCCPCTL) &
> +					    ~GEN8_DOP_CLOCK_GATE_MEDIA_ENABLE));
> +	}
>   }
>   
>   static void i915_pineview_get_mem_freq(struct drm_device *dev)

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

  reply	other threads:[~2015-09-12 16:03 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 [this message]
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 ` [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=55F44CD6.7030408@intel.com \
    --to=sagar.a.kamble@intel.com \
    --cc=arun.siluvery@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mika.kuoppala@intel.com \
    --cc=shashidhar.hiremath@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.