drm/i915: split intel_modeset_init() to pre/post irq install
authorJani Nikula <jani.nikula@intel.com>
Mon, 24 Feb 2020 12:08:28 +0000 (14:08 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 26 Feb 2020 08:37:13 +0000 (10:37 +0200)
commit80f286a552c6cc554199a7d14b76836cffabd451
tree22b257ef39a3790b5ea0f0feb97e36569a7d4eb2
parentcf9bfa3c5ce8aba8e076a6d52a05d91435160744
drm/i915: split intel_modeset_init() to pre/post irq install

Split inte_modeset_init() to parts before and after irq install, to
facilitate further cleanup. The error paths are a mess, otherwise 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/20200224120828.22105-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