drm/i915: unify icp, tgp and mcc irq setup
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 29 Aug 2019 21:15:26 +0000 (14:15 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 30 Aug 2019 18:01:19 +0000 (11:01 -0700)
commit40e98130c32889e4ed128d129b824107b90501fe
treee32269146c876fdddd939d425beeb81cc9ce22f9
parentb32821c036310c49cdc45639b1d451b21fc3f17b
drm/i915: unify icp, tgp and mcc irq setup

Use a single function to setup the SDE irq and make MCC, ICP and TGP use
it, just like was done for the irq handler.

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-4-jose.souza@intel.com
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/i915_irq.c