All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/display: Suspend MST topology manager before destroy fbdev
@ 2019-11-27  2:16 ` José Roberto de Souza
  0 siblings, 0 replies; 16+ messages in thread
From: José Roberto de Souza @ 2019-11-27  2:16 UTC (permalink / raw)
  To: intel-gfx

MST do topology probe in threads, so this running threads needs to be
flushed before fbdev is destroyed as when a new MST node is found it
calls drm_kms_helper_hotplug_event() that calls fbdev functions

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109964
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 8f2770951459..372dd48691cf 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -17989,6 +17989,13 @@ void intel_modeset_driver_remove(struct drm_i915_private *i915)
 	 */
 	intel_hpd_poll_fini(i915);
 
+	/*
+	 * MST do topology probe in threads, so this running threads needs to
+	 * be flushed before fbdev is destroyed as when a new MST node is found
+	 * it call drm_kms_helper_hotplug_event() that calls fbdev functions
+	 */
+	intel_dp_mst_suspend(i915);
+
 	/* poll work can call into fbdev, hence clean that up afterwards */
 	intel_fbdev_fini(i915);
 
-- 
2.24.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-12-02 20:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-27  2:16 [PATCH] drm/i915/display: Suspend MST topology manager before destroy fbdev José Roberto de Souza
2019-11-27  2:16 ` [Intel-gfx] " José Roberto de Souza
2019-11-27  3:46 ` ✗ Fi.CI.BAT: failure for " Patchwork
2019-11-27  3:46   ` [Intel-gfx] " Patchwork
2019-11-27  8:15 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Suspend MST topology manager before destroy fbdev (rev2) Patchwork
2019-11-27  8:15   ` [Intel-gfx] " Patchwork
2019-11-27 18:43 ` [PATCH] drm/i915/display: Suspend MST topology manager before destroy fbdev Lucas De Marchi
2019-11-27 18:43   ` [Intel-gfx] " Lucas De Marchi
2019-11-28  1:01   ` Souza, Jose
2019-11-28  1:01     ` [Intel-gfx] " Souza, Jose
2019-11-28  0:38 ` ✓ Fi.CI.BAT: success for drm/i915/display: Suspend MST topology manager before destroy fbdev (rev3) Patchwork
2019-11-28  0:38   ` [Intel-gfx] " Patchwork
2019-11-29  5:21 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-11-29  5:21   ` [Intel-gfx] " Patchwork
2019-12-02 20:56   ` Souza, Jose
2019-12-02 20:56     ` [Intel-gfx] " Souza, Jose

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.