Re: [PATCH v5 00/12] drm/framebuffer: Add framebuffer debugfs file
Den 07.11.2017 20.13, skrev Noralf Trønnes: This patchset adds a debugfs file that prints info about the framebuffers. Changes since version 4: - Add framebuffer debugfs file: Fix printk formats and add info about indent argument in gem_print_info callback docs (Laurent) - Turn to_drm_gem_cma_obj() into a macro (Laurent) - drm_gem_cma_print_info(): Make the cma_obj variable a const since it is derived from the obj variable which is a const. Changes since version 3: - Applied patch: drm/gem: Remove trailing whitespace - Turn drm_printf_indent() into a macro (Ville) - drm_printf_indent() add overflow marker (Jani) - Converted arc, hdlcd, tilcdc and removed drm_fb_cma_debugfs_show() Noralf Trønnes (12): drm/vma-manager: drm_vma_node_start() constify argument drm/framebuffer: drm_framebuffer_read_refcount() constify argument drm/print: Add drm_printf_indent() drm/framebuffer: Add framebuffer debugfs file drm/atomic: Use drm_framebuffer_print_info() drm/cma-helper: Turn to_drm_gem_cma_obj() into a macro drm/cma-helper: Add drm_gem_cma_print_info() drm/arc: Use drm_gem_cma_print_info() drm/arm/hdlcd: Use drm_gem_cma_print_info() drm/tilcdc: Use drm_gem_cma_print_info() drm/tinydrm: Use drm_gem_cma_print_info() drm/cma-helper: Remove drm_fb_cma_debugfs_show() Series applied to drm-misc-next. Thanks for reviewing! Noralf. drivers/gpu/drm/arc/arcpgu_drv.c | 2 +- drivers/gpu/drm/arm/hdlcd_drv.c | 2 +- drivers/gpu/drm/drm_atomic.c | 18 ++- drivers/gpu/drm/drm_debugfs.c| 6 drivers/gpu/drm/drm_fb_cma_helper.c | 37 -- drivers/gpu/drm/drm_framebuffer.c| 59 drivers/gpu/drm/drm_gem.c| 17 +++ drivers/gpu/drm/drm_gem_cma_helper.c | 31 --- drivers/gpu/drm/drm_internal.h | 7 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- drivers/gpu/drm/tinydrm/mipi-dbi.c | 8 + include/drm/drm_drv.h| 15 + include/drm/drm_fb_cma_helper.h | 6 include/drm/drm_framebuffer.h| 2 +- include/drm/drm_gem_cma_helper.h | 12 +++- include/drm/drm_print.h | 8 + include/drm/drm_vma_manager.h| 2 +- include/drm/tinydrm/tinydrm.h| 1 + 18 files changed, 138 insertions(+), 97 deletions(-) -- 2.14.2 ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH v5 00/12] drm/framebuffer: Add framebuffer debugfs file
This patchset adds a debugfs file that prints info about the framebuffers. Changes since version 4: - Add framebuffer debugfs file: Fix printk formats and add info about indent argument in gem_print_info callback docs (Laurent) - Turn to_drm_gem_cma_obj() into a macro (Laurent) - drm_gem_cma_print_info(): Make the cma_obj variable a const since it is derived from the obj variable which is a const. Changes since version 3: - Applied patch: drm/gem: Remove trailing whitespace - Turn drm_printf_indent() into a macro (Ville) - drm_printf_indent() add overflow marker (Jani) - Converted arc, hdlcd, tilcdc and removed drm_fb_cma_debugfs_show() Noralf Trønnes (12): drm/vma-manager: drm_vma_node_start() constify argument drm/framebuffer: drm_framebuffer_read_refcount() constify argument drm/print: Add drm_printf_indent() drm/framebuffer: Add framebuffer debugfs file drm/atomic: Use drm_framebuffer_print_info() drm/cma-helper: Turn to_drm_gem_cma_obj() into a macro drm/cma-helper: Add drm_gem_cma_print_info() drm/arc: Use drm_gem_cma_print_info() drm/arm/hdlcd: Use drm_gem_cma_print_info() drm/tilcdc: Use drm_gem_cma_print_info() drm/tinydrm: Use drm_gem_cma_print_info() drm/cma-helper: Remove drm_fb_cma_debugfs_show() drivers/gpu/drm/arc/arcpgu_drv.c | 2 +- drivers/gpu/drm/arm/hdlcd_drv.c | 2 +- drivers/gpu/drm/drm_atomic.c | 18 ++- drivers/gpu/drm/drm_debugfs.c| 6 drivers/gpu/drm/drm_fb_cma_helper.c | 37 -- drivers/gpu/drm/drm_framebuffer.c| 59 drivers/gpu/drm/drm_gem.c| 17 +++ drivers/gpu/drm/drm_gem_cma_helper.c | 31 --- drivers/gpu/drm/drm_internal.h | 7 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- drivers/gpu/drm/tinydrm/mipi-dbi.c | 8 + include/drm/drm_drv.h| 15 + include/drm/drm_fb_cma_helper.h | 6 include/drm/drm_framebuffer.h| 2 +- include/drm/drm_gem_cma_helper.h | 12 +++- include/drm/drm_print.h | 8 + include/drm/drm_vma_manager.h| 2 +- include/drm/tinydrm/tinydrm.h| 1 + 18 files changed, 138 insertions(+), 97 deletions(-) -- 2.14.2 ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel