drm/i915: split i915_driver_modeset_probe() to pre/post irq install
authorJani Nikula <jani.nikula@intel.com>
Wed, 19 Feb 2020 13:37:56 +0000 (15:37 +0200)
committerJani Nikula <jani.nikula@intel.com>
Sun, 23 Feb 2020 15:12:21 +0000 (17:12 +0200)
commitb664259f3fe2c7a967e9fa4ba6d3af6a2addaa99
tree646cf9a890e33bd62eb85fcd005139165f37c862
parent5d8b134150af3227179a251e5a7b435d9a021026
drm/i915: split i915_driver_modeset_probe() to pre/post irq install

Pair the irq install and uninstall in the same layer. There are no
functional changes in the happy day scenario. The cleanup paths are
currently a mess though.

Note that modeset probe pre-irq + post-irq install are matched by
modeset driver remove pre-irq + post-irq uninstall, together, but not
independently. They are not symmetric pairs.

v2: don't add a new probe failure point here

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200219133756.13224-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.c