drm/i915: fully convert the IRQ initialization macros to intel_uncore
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 10 Apr 2019 23:53:44 +0000 (16:53 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 16 Apr 2019 21:24:39 +0000 (14:24 -0700)
commitb16b2a2f70b16089ff460c53471af7c0b33ce37a
tree7424c63ce23258c8c57744fbde6e8b19a2929529
parent65f42cdc6e654543a769a5f4df060ae00096a334
drm/i915: fully convert the IRQ initialization macros to intel_uncore

Make them take the uncore argument from the caller instead of passing
the implicit &dev_priv->uncore directly. This will allow us to finally
pass something that's not dev_priv->uncore in the future, and gets rid
of the implicit variables in register macros.

v2: Rebase on top of the newer patches.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v1)
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410235344.31199-6-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_irq.c