public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/nouveau: Fix connector memory corruption issues
@ 2018-07-13 16:24 Lyude Paul
  2018-07-13 16:24 ` [PATCH 1/2] drm/nouveau: Use drm_connector_list_iter_* for iterating connectors Lyude Paul
  2018-07-13 16:24 ` [PATCH 2/2] drm/nouveau: Avoid looping through fake MST connectors Lyude Paul
  0 siblings, 2 replies; 4+ messages in thread
From: Lyude Paul @ 2018-07-13 16:24 UTC (permalink / raw)
  To: nouveau
  Cc: Karol Herbst, stable, David Airlie, linux-kernel, dri-devel,
	Ben Skeggs

This fixes some nasty issues I found in nouveau that were being caused
looping through connectors using racy legacy methods, along with some
caused by making incorrect assumptions about the drm_connector structs
in nouveau's connector list. Most of these memory corruption issues
could be reproduced by using an MST hub with nouveau.

Cc: Karol Herbst <karolherbst@gmail.com>
Cc: stable@vger.kernel.org

Lyude Paul (2):
  drm/nouveau: Use drm_connector_list_iter_* for iterating ues connectors
  drm/nouveau: Avoid looping through fake MST connectors

 drivers/gpu/drm/nouveau/nouveau_backlight.c |  6 ++--
 drivers/gpu/drm/nouveau/nouveau_connector.c |  9 ++++--
 drivers/gpu/drm/nouveau/nouveau_connector.h | 36 ++++++++++++++++++---
 drivers/gpu/drm/nouveau/nouveau_display.c   | 10 ++++--
 4 files changed, 51 insertions(+), 10 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2018-07-13 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-13 16:24 [PATCH 0/2] drm/nouveau: Fix connector memory corruption issues Lyude Paul
2018-07-13 16:24 ` [PATCH 1/2] drm/nouveau: Use drm_connector_list_iter_* for iterating connectors Lyude Paul
2018-07-13 16:24 ` [PATCH 2/2] drm/nouveau: Avoid looping through fake MST connectors Lyude Paul
2018-07-13 16:45   ` [Nouveau] " Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox