]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: split intel_modeset_driver_remove() to pre/post irq uninstall
authorJani Nikula <jani.nikula@intel.com>
Fri, 14 Feb 2020 13:50:57 +0000 (15:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Feb 2020 13:16:27 +0000 (15:16 +0200)
commit6124348855ddf2ddfe5e62e59b74c613431e25a1
treeb9ec37cde674798cc9086ca9c237c7a0ff727c12
parent334d107a2c1a1e09112e094acd560fdbb68b1b65
drm/i915: split intel_modeset_driver_remove() to pre/post irq uninstall

Split intel_modeset_driver_remove() to two, the part with working irqs
before irq uninstall, and the part after irq uninstall. Move
irq_unintall() closer to the layer it belongs.

The error path in i915_driver_modeset_probe() looks obviously weird
after this, but remains as good or broken as it ever was. No functional
changes.

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/20200214135058.7580-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/i915_drv.c