]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't specify the IRQ register in the gen2 macros
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 10 Apr 2019 23:53:41 +0000 (16:53 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 16 Apr 2019 21:17:28 +0000 (14:17 -0700)
commitdb8112afa3a03c0d092f6d63b93d5392d7a81565
tree398410d68ed01dda476bba31a53b843e406358fa
parent2921144fd3aba238cd10b86f7b779afc51f98dc8
drm/i915: don't specify the IRQ register in the gen2 macros

Like the gen3+ macros, the gen2 versions of the IRQ initialization
macros take the register name in the 'type' argument. But gen2 only
has one set of registers, so there's really no need to specify the
type. This commit removes the type argument and uses the registers
directly instead of passing them through variables.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410235344.31199-3-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_irq.c