intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Govindapillai, Vinod" <vinod.govindapillai@intel.com>
Cc: "Sousa, Gustavo" <gustavo.sousa@intel.com>,
	"Nikula, Jani" <jani.nikula@intel.com>,
	"Roper, Matthew D" <matthew.d.roper@intel.com>,
	"Syrjala, Ville" <ville.syrjala@intel.com>
Subject: Re: [PATCH v4 3/3] drm/i915/fbc: Apply Wa_14025769978
Date: Wed, 3 Dec 2025 13:39:51 +0000	[thread overview]
Message-ID: <54663465ac1ae20920c6fd437550a6761c36befc.camel@intel.com> (raw)
In-Reply-To: <20251127115349.249120-4-vinod.govindapillai@intel.com>

On Thu, 2025-11-27 at 13:53 +0200, Vinod Govindapillai wrote:
> Disable cache read setting in the cacheability configuration
> register as per the wa recommendation

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
> 
> Bspec: 79482, 74722, 68881
> Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display_wa.c |  2 ++
>  drivers/gpu/drm/i915/display/intel_display_wa.h |  1 +
>  drivers/gpu/drm/i915/display/intel_fbc.c        | 10 ++++++++--
>  3 files changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display_wa.c
> b/drivers/gpu/drm/i915/display/intel_display_wa.c
> index b2e71fa61c0a..a00af39f7538 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_wa.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_wa.c
> @@ -72,6 +72,8 @@ bool __intel_display_wa(struct intel_display
> *display, enum intel_display_wa wa,
>  		return IS_DISPLAY_VERx100(display, 1100, 1400);
>  	case INTEL_DISPLAY_WA_15018326506:
>  		return display->platform.battlemage;
> +	case INTEL_DISPLAY_WA_14025769978:
> +		return DISPLAY_VER(display) == 35;
>  	default:
>  		drm_WARN(display->drm, 1, "Missing Wa number: %s\n",
> name);
>  		break;
> diff --git a/drivers/gpu/drm/i915/display/intel_display_wa.h
> b/drivers/gpu/drm/i915/display/intel_display_wa.h
> index f648b00cb97d..a68c0bb7e516 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_wa.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_wa.h
> @@ -27,6 +27,7 @@ enum intel_display_wa {
>  	INTEL_DISPLAY_WA_14011503117,
>  	INTEL_DISPLAY_WA_22014263786,
>  	INTEL_DISPLAY_WA_15018326506,
> +	INTEL_DISPLAY_WA_14025769978,
>  };
>  
>  bool __intel_display_wa(struct intel_display *display, enum
> intel_display_wa wa, const char *name);
> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> b/drivers/gpu/drm/i915/display/intel_fbc.c
> index 85978196b607..84a1ab0bd418 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> @@ -951,8 +951,14 @@ static void fbc_sys_cache_update_config(struct
> intel_display *display, u32 reg,
>  
>  	lockdep_assert_held(&display->fbc.sys_cache.lock);
>  
> -	/* Cache read enable is set by default */
> -	reg |= FBC_SYS_CACHE_READ_ENABLE;
> +	/*
> +	 * Wa_14025769978:
> +	 * Fixes: SoC hardware issue in read caching
> +	 * Workaround: disable cache read setting which is enabled
> by default.
> +	 */
> +	if (!intel_display_wa(display, 14025769978))
> +		/* Cache read enable is set by default */
> +		reg |= FBC_SYS_CACHE_READ_ENABLE;
>  
>  	intel_de_write(display, XE3P_LPD_FBC_SYS_CACHE_USAGE_CFG,
> reg);
>  


  reply	other threads:[~2025-12-03 13:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-27 11:53 [PATCH v4 0/3] drm/i915/display: Enable system cache support for FBC Vinod Govindapillai
2025-11-27 11:53 ` [PATCH v4 1/3] drm/i915/display: Use a sub-struct for fbc operations in intel_display Vinod Govindapillai
2025-11-27 11:53 ` [PATCH v4 2/3] drm/i915/xe3p_lpd: Enable display use of system cache for FBC Vinod Govindapillai
2025-11-27 13:29   ` Govindapillai, Vinod
2025-11-27 13:49     ` Jani Nikula
2025-11-27 14:09       ` Govindapillai, Vinod
2025-11-28 11:35   ` [PATCH v5 " Vinod Govindapillai
2025-12-03 13:12     ` Hogander, Jouni
2025-12-03 13:43       ` Govindapillai, Vinod
2025-11-27 11:53 ` [PATCH v4 3/3] drm/i915/fbc: Apply Wa_14025769978 Vinod Govindapillai
2025-12-03 13:39   ` Hogander, Jouni [this message]
2025-11-27 12:46 ` ✗ i915.CI.BAT: failure for drm/i915/display: Enable system cache support for FBC (rev2) Patchwork
2025-11-27 13:30 ` ✗ Fi.CI.BUILD: failure for drm/i915/display: Enable system cache support for FBC (rev3) Patchwork
2025-11-28 12:33 ` ✗ i915.CI.BAT: failure for drm/i915/display: Enable system cache support for FBC (rev4) Patchwork
2025-12-01  5:31 ` ✓ i915.CI.BAT: success " Patchwork
2025-12-01  6:56 ` ✗ i915.CI.Full: 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=54663465ac1ae20920c6fd437550a6761c36befc.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=matthew.d.roper@intel.com \
    --cc=ville.syrjala@intel.com \
    --cc=vinod.govindapillai@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;
as well as URLs for NNTP newsgroup(s).