]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ehl: Don't forget to handle port C's hotplug interrupts
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 30 Jul 2019 22:05:53 +0000 (15:05 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 1 Aug 2019 15:02:30 +0000 (08:02 -0700)
commitdbe4845fc794f43f4686419d125650573e351155
treee935e64a37971bf4722083e8863355783c988363
parentd0fdac8895f357f4a29098628f0d35b431e19d0b
drm/i915/ehl: Don't forget to handle port C's hotplug interrupts

We're mostly re-using ICL's interrupt handling on EHL, but we still need
to remember to account for the extra combo port that EHL has.  Use TGP's
mask (which includes combo port C) rather than ICP's mask when
appropriate.  Let's also skip reading TC-specific registers on this
platform since EHL doesn't have any TC ports.

v2: Base setup of SHOTPLUG_CTL_TC on whether the tc pin mask is non-zero
    rather than performing another PCH type check.  (Jose)

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730220553.15300-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_irq.c