diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-07-12 17:38:53 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-07-13 10:06:23 -0700 |
commit | c86ef50f05c65f6c995156426dca29d47629e1be (patch) | |
tree | 471b8110c68fd33c65ba383e0f4779a740b7df57 /drivers | |
parent | 1d2b8fd93ed592db6498bfb428ea288441b0f3b2 (diff) | |
download | linux-c86ef50f05c65f6c995156426dca29d47629e1be.tar.bz2 |
drm/i915: Limit Wa_22010178259 to affected platforms
This workaround is not needed for platforms with display 13.
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210713003854.143197-5-jose.souza@intel.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_display_power.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c index 285380079aab..6fc766da6605 100644 --- a/drivers/gpu/drm/i915/display/intel_display_power.c +++ b/drivers/gpu/drm/i915/display/intel_display_power.c @@ -5822,10 +5822,11 @@ static void tgl_bw_buddy_init(struct drm_i915_private *dev_priv) intel_de_write(dev_priv, BW_BUDDY_PAGE_MASK(i), table[config].page_mask); - /* Wa_22010178259:tgl,rkl */ - intel_de_rmw(dev_priv, BW_BUDDY_CTL(i), - BW_BUDDY_TLB_REQ_TIMER_MASK, - BW_BUDDY_TLB_REQ_TIMER(0x8)); + /* Wa_22010178259:tgl,dg1,rkl,adl-s */ + if (DISPLAY_VER(dev_priv) == 12) + intel_de_rmw(dev_priv, BW_BUDDY_CTL(i), + BW_BUDDY_TLB_REQ_TIMER_MASK, + BW_BUDDY_TLB_REQ_TIMER(0x8)); } } } |