RFC drm/mipi-dbi: Use drm_device for debugfs, drop drm_minor
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drm/mipi-dbi: Use drm_device for debugfs, drop drm_minor and .debugfs_initdrivers/ drivers/ drivers/ +1 more | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/1] drm/mipi-dbi: Use drm_device for debugfs, drop drm_minor
This patch updates the MIPI DBI driver to use drm_device.debugfs_root instead of drm_minor for creating debugfs files. The debugfs setup is now done earlier in probe(), before drm_dev_register(), and the drivers can avoid using the .debugfs_init callback.
This is an initial version, and only a few drivers are updated for now.
I noticed that some newer drivers or patches still use drm_debugfs_create_files(), which relies on drm_minor. I was wondering if there is a specific reason for this, or if there's a plan to switch to drm_debugfs_add_files? I can send patches to update more drivers if that helps.
This patch helps move toward the debugfs cleanup task listed here:
https://docs.kernel.org/gpu/todo.html#clean-up-the-debugfs-support
Looking forward to your feedback.
Jagath Jog J (1):
drm/mipi-dbi: Use drm_device for debugfs, drop drm_minor and
.debugfs_init
drivers/gpu/drm/drm_mipi_dbi.c | 8 ++++---- drivers/gpu/drm/tiny/ili9163.c | 3 ++- drivers/gpu/drm/tiny/panel-mipi-dbi.c | 3 ++- include/drm/drm_mipi_dbi.h | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1