]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: unify icp, tgp and mcc irq handling
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 29 Aug 2019 21:15:24 +0000 (14:15 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 30 Aug 2019 18:01:04 +0000 (11:01 -0700)
commit4d8a8aa3daf6bb3e9a1a368e15f7d41113649919
tree999812e2157221a181eeeae42d9bec678b615106
parent15b025d7ff4cadd5f4206642fdffa3058afeace7
drm/i915: unify icp, tgp and mcc irq handling

The differences are only on the pins, trigger and long_detect function.
The MCC handling is already partially merged, so merge TGP as well.
Remove the pins argument from icp_irq_handler() so we have all the
differences between the 3 set in a common if ladder.

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