Skip to content

drm/nouveau: Fix connector memory corruption issues

Lyude Paul dri-devel lkml nouveau stable 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/nouveau: Use drm_connector_list_iter_* for iterating connectorsdrivers/gpu/drm/nouveau/nouveau_backlight.c drivers/gpu/drm/nouveau/nouveau_connector.c drivers/gpu/drm/nouveau/nouveau_connector.h +1 more+29 -100 replies
2/2drm/nouveau: Avoid looping through fake MST connectorsdrivers/gpu/drm/nouveau/nouveau_connector.c drivers/gpu/drm/nouveau/nouveau_connector.h drivers/gpu/drm/nouveau/nouveau_display.c+26 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/nouveau: Fix connector memory corruption issues

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.

Next version of https://patchwork.freedesktop.org/series/46498/

Lyude Paul (2):
drm/nouveau: Use drm_connector_list_iter_* for iterating 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(-)
Signature · 6 lines
2.17.1

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau