Skip to content

drm/client: Use after free and debug improvements

Ville Syrjala dri-devel intel-gfx llvm oe-kbuild-all stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/client: Fully protect modes[] with dev->mode_config.mutexdrivers/gpu/drm/drm_client_modeset.c+2 -14 replies
2/12drm/client: s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/drivers/gpu/drm/drm_client_modeset.c+4 -41 reply
3/12drm/client: Use drm_mode_destroy()drivers/gpu/drm/drm_client_modeset.c+2 -21 reply
4/12drm/client: Add a FIXME around crtc->mode usagedrivers/gpu/drm/drm_client_modeset.c+4 -02 replies
5/12drm/client: Nuke outdated fastboot commentdrivers/gpu/drm/drm_client_modeset.c+0 -101 reply
6/12drm/client: Constify modesdrivers/gpu/drm/drm_client_modeset.c+19 -170 replies
7/12drm/client: Use array notation for function argumentsdrivers/gpu/drm/drm_client_modeset.c+21 -211 reply
8/12drm/client: Extract drm_connector_first_mode()drivers/gpu/drm/drm_client_modeset.c+10 -71 reply
9/12drm/client: Switch to per-device debugsdrivers/gpu/drm/drm_client_modeset.c+60 -570 replies
10/12drm/client: Use [CONNECTOR:%d:%s] formattingdrivers/gpu/drm/drm_client_modeset.c+35 -302 replies
11/12drm/client: Streamline mode selection debugsdrivers/gpu/drm/drm_client_modeset.c+31 -346 replies
12/12drm/probe-helper: Switch to per-device debugsdrivers/gpu/drm/drm_probe_helper.c+16 -192 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDmitry BaryshkovThomas ZimmermannJani Nikula
SeriesR-b
1/12R-b
2/12R-b
3/12R-b
4/12
5/12R-b
6/12
7/12
8/12R-b
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/12] drm/client: Use after free and debug improvements

From: Ville Syrjälä <[email protected]>

Various improvements to the drm/client code:
- Fix a use after free (fairly routinely hit by i915 CI)
- Debug print improvements
- Cleanups/etc.

Ville Syrjälä (12):
drm/client: Fully protect modes[] with dev->mode_config.mutex drm/client:
s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/
drm/client: Use drm_mode_destroy()
drm/client: Add a FIXME around crtc->mode usage drm/client: Nuke outdated fastboot comment
drm/client: Constify modes
drm/client: Use array notation for function arguments drm/client: Extract drm_connector_first_mode() drm/client: Switch to per-device debugs
drm/client: Use [CONNECTOR:%d:%s] formatting drm/client: Streamline mode selection debugs drm/probe-helper: Switch to per-device debugs

 drivers/gpu/drm/drm_client_modeset.c | 237 ++++++++++++++-------------
 drivers/gpu/drm/drm_probe_helper.c   |  35 ++--
 2 files changed, 137 insertions(+), 135 deletions(-)
Signature · 1 line
2.43.2