Commit 1d742694 authored by José Roberto de Souza's avatar José Roberto de Souza
Browse files

drm/i915/display/fbc: Do not apply WA 22014263786 to DG2



This workaround brings some regressions to DG2 and if really necessary
for DG2 an alternative workaround will be implemented.

BSpec: 54077
Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220602201730.199418-1-jose.souza@intel.com
parent b43edc50
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -813,8 +813,8 @@ static void intel_fbc_program_cfb(struct intel_fbc *fbc)

static void intel_fbc_program_workarounds(struct intel_fbc *fbc)
{
	/* Wa_22014263786:icl,jsl,tgl,dg1,rkl,adls,dg2,adlp */
	if (DISPLAY_VER(fbc->i915) >= 11)
	/* Wa_22014263786:icl,jsl,tgl,dg1,rkl,adls,adlp */
	if (DISPLAY_VER(fbc->i915) >= 11 && !IS_DG2(fbc->i915))
		intel_de_rmw(fbc->i915, ILK_DPFC_CHICKEN(fbc->id), 0,
			     DPFC_CHICKEN_FORCE_SLB_INVALIDATION);
}