drm/i915/icp+: Use icp_hpd_irq_setup() instead of spt_hpd_irq_setup()
authorLyude Paul <lyude@redhat.com>
Wed, 17 Feb 2021 02:53:37 +0000 (21:53 -0500)
committerLyude Paul <lyude@redhat.com>
Tue, 2 Mar 2021 21:38:40 +0000 (16:38 -0500)
commitcec3295b246b5555f6de7570d25a13a2754de245
tree5047684f8dd16c627d0f728212e50ebe74e0b9cf
parent59b7cb44cffde6ab5b8ace1aef9b79f50be1c3eb
drm/i915/icp+: Use icp_hpd_irq_setup() instead of spt_hpd_irq_setup()

While reviewing patches for handling workarounds related to gen9 bc, Imre
from Intel discovered that we're using spt_hpd_irq_setup() on ICP+ PCHs
despite it being almost the same as icp_hpd_irq_setup(). Since we need to
be calling icp_hpd_irq_setup() to ensure that CML-S/TGP platforms function
correctly anyway, let's move platforms using PCH_ICP which aren't handled
by gen11_hpd_irq_setup() over to icp_hpd_irq_setup().

Cc: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210217025337.1929015-2-lyude@redhat.com
drivers/gpu/drm/i915/i915_irq.c