diff options
author | Jani Nikula <jani.nikula@intel.com> | 2020-02-14 15:50:57 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-02-19 15:16:27 +0200 |
commit | 93a0ed6cc164bad2bc9afcf1d06186f8425020af (patch) | |
tree | b9ec37cde674798cc9086ca9c237c7a0ff727c12 /drivers/gpu/drm/i915/display/intel_display.h | |
parent | 200452f1cb437895cb4bb0fcb0d5b74afdbf17ac (diff) | |
download | linux-93a0ed6cc164bad2bc9afcf1d06186f8425020af.tar.gz linux-93a0ed6cc164bad2bc9afcf1d06186f8425020af.tar.bz2 linux-93a0ed6cc164bad2bc9afcf1d06186f8425020af.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h index 75438a136d58..f92efbbec838 100644 --- a/drivers/gpu/drm/i915/display/intel_display.h +++ b/drivers/gpu/drm/i915/display/intel_display.h @@ -616,6 +616,7 @@ intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info, void intel_modeset_init_hw(struct drm_i915_private *i915); int intel_modeset_init(struct drm_i915_private *i915); void intel_modeset_driver_remove(struct drm_i915_private *i915); +void intel_modeset_driver_remove_noirq(struct drm_i915_private *i915); void intel_display_resume(struct drm_device *dev); void intel_init_pch_refclk(struct drm_i915_private *dev_priv); |