public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Nick Hoath <nicholas.hoath@intel.com>
To: Damien Lespiau <damien.lespiau@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 09/18] drm/i915/skl: Implement WaEnableLbsSlaRetryTimerDecrement
Date: Thu, 12 Feb 2015 15:09:25 +0000	[thread overview]
Message-ID: <54DCC225.9070009@intel.com> (raw)
In-Reply-To: <1423510402-12605-10-git-send-email-damien.lespiau@intel.com>

On 09/02/2015 19:33, Damien Lespiau wrote:
> This W/A is put in a gen9 specific function because it may well be
> needed on other gen9 platforms.
>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

Reviewed-by: Nick Hoath <nicholas.hoath@intel.com>

> ---
>   drivers/gpu/drm/i915/i915_reg.h |  3 +++
>   drivers/gpu/drm/i915/intel_pm.c | 11 +++++++++++
>   2 files changed, 14 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index cb66c8f..2043e82 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -5275,6 +5275,9 @@ enum skl_disp_power_wells {
>   #define HSW_SCRATCH1				0xb038
>   #define  HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE	(1<<27)
>
> +#define BDW_SCRATCH1					0xb11c
> +#define  GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE	(1<<2)
> +
>   /* PCH */
>
>   /* south display engine interrupt: IBX */
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 2c66423..ed029e7 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -52,10 +52,21 @@
>   #define INTEL_RC6p_ENABLE			(1<<1)
>   #define INTEL_RC6pp_ENABLE			(1<<2)
>
> +static void gen9_init_clock_gating(struct drm_device *dev)
> +{
> +	struct drm_i915_private *dev_priv = dev->dev_private;
> +
> +	/* WaEnableLbsSlaRetryTimerDecrement:skl */
> +	I915_WRITE(BDW_SCRATCH1, I915_READ(BDW_SCRATCH1) |
> +		   GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE);
> +}
> +
>   static void skl_init_clock_gating(struct drm_device *dev)
>   {
>   	struct drm_i915_private *dev_priv = dev->dev_private;
>
> +	gen9_init_clock_gating(dev);
> +
>   	if (INTEL_REVID(dev) == SKL_REVID_A0) {
>   		/*
>   		 * WaDisableSDEUnitClockGating:skl
>

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

  reply	other threads:[~2015-02-12 15:09 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 19:33 [PATCH 00/18] A few more workarounds Damien Lespiau
2015-02-09 19:33 ` [PATCH 01/18] drm/i915: Support not having an init clock gating function defined Damien Lespiau
2015-02-10  9:39   ` Daniel Vetter
2015-02-11 14:44   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 02/18] drm/i915/skl: Implement WaDisableHBR2 Damien Lespiau
2015-02-11 14:49   ` Nick Hoath
2015-02-11 17:43     ` [PATCH v2] " Damien Lespiau
2015-02-13  5:09       ` shuang.he
2015-03-12 18:18       ` Jesse Barnes
2015-03-12 18:36         ` Jani Nikula
2015-03-12 19:03           ` Jesse Barnes
2015-03-13  9:21             ` Daniel Vetter
2015-02-09 19:33 ` [PATCH 03/18] drm/i915/skl: Document the WM read latency W/A with its name Damien Lespiau
2015-02-11 14:51   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 04/18] drm/i915/skl: Provide a gen9 specific init_render_ring() Damien Lespiau
2015-02-11 14:52   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 05/18] drm/i915/skl: Make the init clock gating function skylake specific Damien Lespiau
2015-02-11 14:56   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 06/18] drm/i915/skl: Implement WaSetGAPSunitClckGateDisable Damien Lespiau
2015-02-11 14:56   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 07/18] drm/i915/skl: Implement WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken Damien Lespiau
2015-02-12 13:29   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 08/18] drm/i915/skl: Document that we implement WaRsClearFWBitsAtReset Damien Lespiau
2015-02-11 15:08   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 09/18] drm/i915/skl: Implement WaEnableLbsSlaRetryTimerDecrement Damien Lespiau
2015-02-12 15:09   ` Nick Hoath [this message]
2015-02-09 19:33 ` [PATCH 10/18] drm/i915/skl: Implement WaDisableVFUnitClockGating Damien Lespiau
2015-02-11 15:21   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 11/18] drm/i915/skl: Introduce a SKL specific init_workarounds() Damien Lespiau
2015-02-11 15:24   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 12/18] drm/i915/skl: Implement WaDisablePowerCompilerClockGating Damien Lespiau
2015-02-11 15:29   ` Nick Hoath
2015-02-11 17:48     ` Damien Lespiau
2015-02-18  9:57       ` Nick Hoath
2015-02-23 16:31         ` Daniel Vetter
2015-02-09 19:33 ` [PATCH 13/18] drm/i915/skl: Implement WaDisablePartialResolveInVc Damien Lespiau
2015-02-11 15:31   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 14/18] drm/i915/skl: Implement WaDisableLSQCROPERFforOCL Damien Lespiau
2015-02-11 15:34   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 15/18] drm/i915/skl: Implement WaDisableHDCInvalidation Damien Lespiau
2015-02-11 15:39   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 16/18] drm/i915/skl: Implement WaDisableChickenBitTSGBarrierAckForFFSliceCS Damien Lespiau
2015-02-11 15:42   ` Nick Hoath
2015-02-11 16:04     ` Daniel Vetter
2015-02-09 19:33 ` [PATCH 17/18] drm/i915/skl: Implement WaCcsTlbPrefetchDisable:skl Damien Lespiau
2015-02-11 15:44   ` Nick Hoath
2015-02-09 19:33 ` [PATCH 18/18] drm/i915/skl: Implement WaBarrierPerformanceFixDisable Damien Lespiau
2015-02-10 14:02   ` shuang.he
2015-02-11 15:51   ` Nick Hoath

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=54DCC225.9070009@intel.com \
    --to=nicholas.hoath@intel.com \
    --cc=damien.lespiau@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