Each of connectors and CRTCs used by the DRM device provides debugfs directory, which is used by several standard debugfs files and can further be extended by the driver. Add such generic debugfs directories for encoder. As a showcase for this dir, migrate `bridge_chains' debugfs file (which contains per-encoder data) and MSM custom encoder status to this new debugfs directory. Dmitry Baryshkov (3): drm/encoder: register per-encoder debugfs dir drm/bridge: migrate bridge_chains to per-encoder file drm/msm/dpu: move encoder status to standard encoder debugfs dir drivers/gpu/drm/drm_bridge.c | 44 -------------- drivers/gpu/drm/drm_debugfs.c | 64 ++++++++++++++++++++- drivers/gpu/drm/drm_encoder.c | 4 ++ drivers/gpu/drm/drm_internal.h | 9 +++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 45 ++------------- include/drm/drm_bridge.h | 2 - include/drm/drm_encoder.h | 16 +++++- 7 files changed, 95 insertions(+), 89 deletions(-) -- 2.39.2