Commit b318b824 authored by Ville Syrjälä's avatar Ville Syrjälä

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190620103334.15651-1-ville.syrjala@linux.intel.comReviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 08fa8fd0
...@@ -756,7 +756,7 @@ static int i915_load_modeset_init(struct drm_device *dev) ...@@ -756,7 +756,7 @@ static int i915_load_modeset_init(struct drm_device *dev)
cleanup_modeset: cleanup_modeset:
intel_modeset_cleanup(dev); intel_modeset_cleanup(dev);
cleanup_irq: cleanup_irq:
drm_irq_uninstall(dev); intel_irq_uninstall(dev_priv);
intel_gmbus_teardown(dev_priv); intel_gmbus_teardown(dev_priv);
cleanup_csr: cleanup_csr:
intel_csr_ucode_fini(dev_priv); intel_csr_ucode_fini(dev_priv);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment