]> 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)
commitb318b82455bd9b2899a61108a6d84d4a2d4b6df8
tree78b0f50edc3b55c37134a7f7191fd767ab424f4f
parent08fa8fd0faa5716ed180e109a022e2c0f42c2e4a
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