All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Roper <matthew.d.roper@intel.com>
To: "José Roberto de Souza" <jose.souza@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_22014226127
Date: Fri, 25 Mar 2022 07:32:10 -0700	[thread overview]
Message-ID: <Yj3SarO9Ns4yFbEu@mdroper-desk1.amr.corp.intel.com> (raw)
In-Reply-To: <20220325142249.81443-1-jose.souza@intel.com>

On Fri, Mar 25, 2022 at 07:22:49AM -0700, José Roberto de Souza wrote:
> New DG2 workaround added to specification.
> 
> BSpec: 54077
> BSpec: 66622
> BSpec: 54833
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>

> ---
>  drivers/gpu/drm/i915/gt/intel_gt_regs.h     | 1 +
>  drivers/gpu/drm/i915/gt/intel_workarounds.c | 5 +++++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_gt_regs.h b/drivers/gpu/drm/i915/gt/intel_gt_regs.h
> index 62e0f075b1de7..17432b075d970 100644
> --- a/drivers/gpu/drm/i915/gt/intel_gt_regs.h
> +++ b/drivers/gpu/drm/i915/gt/intel_gt_regs.h
> @@ -1088,6 +1088,7 @@
>  #define EU_PERF_CNTL3				_MMIO(0xe758)
>  
>  #define LSC_CHICKEN_BIT_0			_MMIO(0xe7c8)
> +#define   DISABLE_D8_D16_COASLESCE		REG_BIT(30)
>  #define   FORCE_1_SUB_MESSAGE_PER_FRAGMENT	REG_BIT(15)
>  #define LSC_CHICKEN_BIT_0_UDW			_MMIO(0xe7c8 + 4)
>  #define   DIS_CHAIN_2XSIMD8			REG_BIT(55 - 32)
> diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c
> index dc0ffff6f655a..29c8cd0a81b6f 100644
> --- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
> +++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
> @@ -2624,6 +2624,11 @@ general_render_compute_wa_init(struct intel_engine_cs *engine, struct i915_wa_li
>  		wa_write_or(wal, GEN12_GAMCNTRL_CTRL, INVALIDATION_BROADCAST_MODE_DIS |
>  				GLOBAL_INVALIDATION_MODE);
>  	}
> +
> +	if (IS_DG2(i915)) {
> +		/* Wa_22014226127:dg2 */
> +		wa_write_or(wal, LSC_CHICKEN_BIT_0, DISABLE_D8_D16_COASLESCE);
> +	}
>  }
>  
>  static void
> -- 
> 2.35.1
> 

-- 
Matt Roper
Graphics Software Engineer
VTT-OSGC Platform Enablement
Intel Corporation
(916) 356-2795

  reply	other threads:[~2022-03-25 14:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 14:22 [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_22014226127 José Roberto de Souza
2022-03-25 14:32 ` Matt Roper [this message]
2022-03-25 14:45 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for " Patchwork
2022-03-25 15:06 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-03-25 15:43 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dg2: Add Wa_22014226127 (rev2) Patchwork
2022-03-25 16:04 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-03-28 21:28 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dg2: Add Wa_22014226127 (rev3) Patchwork
2022-03-28 21:49 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-03-29 16:42 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dg2: Add Wa_22014226127 (rev4) Patchwork
2022-03-29 17:18 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-03-29 19:01 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dg2: Add Wa_22014226127 (rev5) Patchwork
2022-03-29 19:14 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Add Wa_22014226127 Patchwork
2022-03-29 19:38 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/dg2: Add Wa_22014226127 (rev5) Patchwork
2022-03-29 19:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Add Wa_22014226127 Patchwork
2022-03-29 20:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Add Wa_22014226127 (rev5) Patchwork
2022-03-29 21:36 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dg2: Add Wa_22014226127 (rev6) Patchwork
2022-03-29 22:04 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-29 23:16 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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=Yj3SarO9Ns4yFbEu@mdroper-desk1.amr.corp.intel.com \
    --to=matthew.d.roper@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jose.souza@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.