drm: add atomic state logging and debugfs
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm: helper macros to print composite typesdrivers/ drivers/ include/ | +24 | 1 reply | |
| 2/6 | drm: add helper for printing to log or seq_filedrivers/ drivers/ include/ | +118 | 6 replies | |
| 3/6 | drm: add helpers to go from plane state to drm_rectdrivers/ drivers/ drivers/ +2 more | +32 | 1 reply | |
| 5/6 | drm/atomic: add debugfs file to dump out atomic statedrivers/ drivers/ include/ | +53 | 1 reply | |
| 6/6 | drm/msm/mdp5: add atomic_print_state supportdrivers/ drivers/ | +29 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Sean Paul |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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