Skip to content

drm: add atomic state logging and debugfs

Rob Clark dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 6 patches 11 repliesIn review

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm: helper macros to print composite typesdrivers/gpu/drm/drm_modes.c drivers/gpu/drm/drm_rect.c include/drm/drmP.h+24 -161 reply
2/6drm: add helper for printing to log or seq_filedrivers/gpu/drm/Makefile drivers/gpu/drm/drm_print.c include/drm/drm_print.h+118 -16 replies
3/6drm: add helpers to go from plane state to drm_rectdrivers/gpu/drm/drm_simple_kms_helper.c drivers/gpu/drm/i915/intel_atomic_plane.c drivers/gpu/drm/mediatek/mtk_drm_plane.c +2 more+32 -411 reply
5/6drm/atomic: add debugfs file to dump out atomic statedrivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_debugfs.c include/drm/drm_atomic.h+53 -01 reply
6/6drm/msm/mdp5: add atomic_print_state supportdrivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c+29 -11 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchSean Paul
1/6R-b
2/6
3/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] drm: add atomic state logging and debugfs

Bit more spiffed out version of the RFC. Now with Sean's suggestion to add vfuncs in plane/crtc/connector funcs for drivers that subclass the various state structs. Plus Ville's suggestion about helper macros for printing mode/rect structs (and alignment with how drm_rect printed the integer and fixed-point rects). Plus addition of connector state and debugfs.

Rob Clark (6):
drm: helper macros to print composite types
drm: add helper for printing to log or seq_file
drm: add helpers to go from plane state to drm_rect drm/atomic: add new drm_debug bit to dump atomic state before commit drm/atomic: add debugfs file to dump out atomic state drm/msm/mdp5: add atomic_print_state support

 drivers/gpu/drm/Makefile                    |   3 +-
 drivers/gpu/drm/drm_atomic.c                | 133 ++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_debugfs.c               |   9 ++
 drivers/gpu/drm/drm_modes.c                 |   8 +-
 drivers/gpu/drm/drm_print.c                 |  54 +++++++++++
 drivers/gpu/drm/drm_rect.c                  |  11 +--
 drivers/gpu/drm/drm_simple_kms_helper.c     |  14 +--
 drivers/gpu/drm/i915/intel_atomic_plane.c   |  10 +--
 drivers/gpu/drm/mediatek/mtk_drm_plane.c    |  15 +---
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h     |  12 +++
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c   |  18 +++-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c |  10 +--
 include/drm/drmP.h                          |  22 +++++
 include/drm/drm_atomic.h                    |   4 +
 include/drm/drm_crtc.h                      |  61 +++++++++++++
 include/drm/drm_print.h                     |  62 +++++++++++++
 16 files changed, 387 insertions(+), 59 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_print.c
 create mode 100644 include/drm/drm_print.h
Signature · 6 lines
2.7.4

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