[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250225-drm-debugfs-show-all-bridges-v7-0-8826037ada37@bootlin.com>
Date: Tue, 25 Feb 2025 17:16:19 +0100
From: Luca Ceresoli <luca.ceresoli@...tlin.com>
To: Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>, Jernej Skrabec <jernej.skrabec@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>
Cc: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Luca Ceresoli <luca.ceresoli@...tlin.com>
Subject: [PATCH v7 0/2] drm: show "all" bridges in debugfs
This series collects some minor improvements and fixes previously part of
[0], hence the "v7" version number.
It adds a /sys/kernel/debug/dri/bridges file showing all bridges between
drm_bridge_add() and drm_bridge_remove(), which might not be bound to any
encoder and thus not visible anywhere in debugfs.
[0] https://lore.kernel.org/dri-devel/20250206-hotplug-drm-bridge-v6-0-9d6f2c9c3058@bootlin.com/
Luca
Signed-off-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
---
Luca Ceresoli (2):
drm/bridge: move bridges_show logic from drm_debugfs.c
drm/debugfs: add top-level 'bridges' file showing all added bridges
drivers/gpu/drm/drm_bridge.c | 53 ++++++++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/drm_debugfs.c | 42 ++++++++++++++-------------------
drivers/gpu/drm/drm_drv.c | 1 +
drivers/gpu/drm/drm_internal.h | 5 ++++
include/drm/drm_bridge.h | 10 ++++++++
5 files changed, 86 insertions(+), 25 deletions(-)
---
base-commit: 09c117e66c48bfdccc41b380d6300f0a1011ec7e
change-id: 20250225-drm-debugfs-show-all-bridges-642e870b71e7
Best regards,
--
Luca Ceresoli <luca.ceresoli@...tlin.com>
Powered by blists - more mailing lists