Skip to content

Commit

Permalink
drm/i915/dg1: Remove SHPD_FILTER_CNT register programming
Browse files Browse the repository at this point in the history
Bspec asks us to remove the special programming of the
SHPD_FILTER_CNT register which we have been doing since CNP+.

Bspec: 49305

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200713182321.12390-5-lucas.demarchi@intel.com
  • Loading branch information
Anusha Srivatsa authored and Lucas De Marchi committed Jul 14, 2020
1 parent 97b492f commit f619e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -3114,7 +3114,8 @@ static void icp_hpd_irq_setup(struct drm_i915_private *dev_priv,
hotplug_irqs = sde_ddi_mask | sde_tc_mask;
enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd);

I915_WRITE(SHPD_FILTER_CNT, SHPD_FILTER_CNT_500_ADJ);
if (INTEL_PCH_TYPE(dev_priv) <= PCH_TGP)
I915_WRITE(SHPD_FILTER_CNT, SHPD_FILTER_CNT_500_ADJ);

ibx_display_interrupt_update(dev_priv, hotplug_irqs, enabled_irqs);

Expand Down

0 comments on commit f619e51

Please sign in to comment.