mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 15:22:21 -04:00
drm/i915: add flush_workqueue(display->wq.cleanup) on shutdown
We're missing the cleanup workqueue flush on the shutdown path. Add it. Unfortunately have to briefly include intel_display_core.c here. To be removed later. Link: https://lore.kernel.org/r/agRp6Was9FCQbKee@intel.com Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/047afe4f8589d4391b95dfc4bff084292ba3bf32.1780310011.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
#include "display/intel_bw.h"
|
||||
#include "display/intel_cdclk.h"
|
||||
#include "display/intel_crtc.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_device.h"
|
||||
#include "display/intel_display_driver.h"
|
||||
#include "display/intel_display_power.h"
|
||||
@@ -1053,6 +1054,8 @@ void i915_driver_shutdown(struct drm_i915_private *i915)
|
||||
drm_atomic_helper_shutdown(&i915->drm);
|
||||
}
|
||||
|
||||
flush_workqueue(display->wq.cleanup);
|
||||
|
||||
intel_dp_mst_suspend(display);
|
||||
|
||||
intel_encoder_block_all_hpds(display);
|
||||
|
||||
Reference in New Issue
Block a user