All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Damien Lespiau <damien.lespiau@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/skl: Fix FF_SLICE_CS_CHICKEN2 offset
Date: Wed, 6 May 2015 16:20:19 +0300	[thread overview]
Message-ID: <20150506132019.GQ18908@intel.com> (raw)
In-Reply-To: <1430917490-29186-1-git-send-email-damien.lespiau@intel.com>

On Wed, May 06, 2015 at 02:04:50PM +0100, Damien Lespiau wrote:
> Robert noticed that the FF_SLICE_CS_CHICKEN2 offset was wrong. Ooops.
> 
> The problem was introduced in the original patch:
> 
>   commit 2caa3b260aa6a3d015352c07d1bce1461825fa6c
>   Author: Damien Lespiau <damien.lespiau@intel.com>
>   Date:   Mon Feb 9 19:33:20 2015 +0000
> 
>       drm/i915/skl: Implement WaDisableChickenBitTSGBarrierAckForFFSliceCS
> 
> Reported-by: Robert Beckett <robert.beckett@intel.com>
> Cc: Robert Beckett <robert.beckett@intel.com>
> Cc: Nick Hoath <nicholas.hoath@intel.com>
> 
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

FYI the code in skl_init_clock_gating() is also wrong since this is
a masked register.

> ---
>  drivers/gpu/drm/i915/i915_reg.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 5436ab0..6a1875a 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -5718,7 +5718,7 @@ enum skl_disp_power_wells {
>  #define HSW_NDE_RSTWRN_OPT	0x46408
>  #define  RESET_PCH_HANDSHAKE_ENABLE	(1<<4)
>  
> -#define FF_SLICE_CS_CHICKEN2			0x02e4
> +#define FF_SLICE_CS_CHICKEN2			0x20e4
>  #define  GEN9_TSG_BARRIER_ACK_DISABLE		(1<<8)
>  
>  /* GEN7 chicken */
> -- 
> 2.1.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-05-06 13:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06 13:04 [PATCH] drm/i915/skl: Fix FF_SLICE_CS_CHICKEN2 offset Damien Lespiau
2015-05-06 13:20 ` Ville Syrjälä [this message]
2015-05-06 13:36   ` [PATCH] drm/i915/skl: Fix WaDisableChickenBitTSGBarrierAckForFFSliceCS Damien Lespiau
2015-05-06 13:44     ` Ville Syrjälä
2015-05-06 14:37       ` Daniel Vetter
2015-05-07 14:23     ` shuang.he
2015-05-07 13:27 ` [PATCH] drm/i915/skl: Fix FF_SLICE_CS_CHICKEN2 offset shuang.he

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=20150506132019.GQ18908@intel.com \
    --to=ville.syrjala@linux.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 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.