]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Nuke drm_driver irq vfuncs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Jun 2019 10:33:34 +0000 (13:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Jun 2019 16:23:28 +0000 (19:23 +0300)
commit92893a8bfadf595d21b9cf20c0291125fef20847
tree78b0f50edc3b55c37134a7f7191fd767ab424f4f
parent337ce80bc20903cd001582ab3dbd23019e89f531
drm/i915: Nuke drm_driver irq vfuncs

Stop using the irq vfuncs under drm_driver. That's not going to fly
in a mixed gen environment since the structure is shared between all
the devices.

v2: Allow intel_irq_uninstall() to be called twice due to
    intel_modeset_cleanup() calling it as well. Toss in a
    FIXME to remind us that this is not great.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190620103334.15651-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_irq.c