]> 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)
commit773c0db16ce4a6d7c55bf781277bad6a4d611326
treee935e64a37971bf4722083e8863355783c988363
parentd97ae80415bbe110bec65773af8144175a135729
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