[PATCH v2] drm/bridge: ti-sn65dsi86: make use of debugfs_init callback

Dmitry Baryshkov dmitry.baryshkov at oss.qualcomm.com
Sat Mar 15 22:43:48 UTC 2025


On Sat, Mar 15, 2025 at 09:15:11PM +0100, Wolfram Sang wrote:
> Do not create a custom directory in debugfs-root, but use the
> debugfs_init callback to create a custom directory at the given place
> for the bridge. The new directory layout looks like this on a Renesas
> GrayHawk-Single with a R-Car V4M SoC:
> 
> 	/sys/kernel/debug/dri/feb00000.display/DP-1/1-002c

Would you rather create a subdir using the bridge name (ti_sn65dsi86)
rather than dev_name? I don't know if we have an established practice.

> 
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
> ---
> 
> Changes since v1:
> * switch from 'client->debugfs' to DRM 'debugfs_init' callback
> * remove RFT because tested on hardware
> 
-- 
With best wishes
Dmitry


More information about the dri-devel mailing list