[Freedreno] [PATCH v2 0/3] drm: introduce per-encoder debugfs directory
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Oct 9 18:50:45 UTC 2023
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.
Changes since v1:
- Brought back drm_printer usage to bridges_show (Tomi Valkeinen)
- Updated the drm/bridge commit message to reflect format changes (Tomi
Valkeinen)
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 | 65 ++++++++++++++++++++-
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, 96 insertions(+), 89 deletions(-)
--
2.39.2
More information about the Freedreno
mailing list