Skip to content

Commit

Permalink
drm/i915/ehl: Extend w/a 14010685332 to JSP/MCC
Browse files Browse the repository at this point in the history
This is a permanent w/a for JSL/EHL.This is to be applied to the
PCH types on JSL/EHL ie JSP/MCC
Bspec: 52888

v2: Fixed the wrong usage of logical OR(ville)
v3: Removed extra braces, changed the check(jose)

Signed-off-by: Swathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200521064448.29522-1-swathi.dhanavanthri@intel.com
  • Loading branch information
Swathi Dhanavanthri authored and José Roberto de Souza committed May 22, 2020
1 parent 82ea174 commit 2992b54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -2904,8 +2904,10 @@ static void gen11_display_irq_reset(struct drm_i915_private *dev_priv)
if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP)
GEN3_IRQ_RESET(uncore, SDE);

/* Wa_14010685332:icl */
if (INTEL_PCH_TYPE(dev_priv) == PCH_ICP) {
/* Wa_14010685332:icl,jsl,ehl */
if (INTEL_PCH_TYPE(dev_priv) == PCH_ICP ||
INTEL_PCH_TYPE(dev_priv) == PCH_JSP ||
INTEL_PCH_TYPE(dev_priv) == PCH_MCC) {
intel_uncore_rmw(uncore, SOUTH_CHICKEN1,
SBCLK_RUN_REFCLK_DIS, SBCLK_RUN_REFCLK_DIS);
intel_uncore_rmw(uncore, SOUTH_CHICKEN1,
Expand Down

0 comments on commit 2992b54

Please sign in to comment.