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

Wolfram Sang wsa+renesas at sang-engineering.com
Sun Mar 16 06:22:43 UTC 2025


On Sun, Mar 16, 2025 at 12:43:48AM +0200, Dmitry Baryshkov wrote:
> 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.

We don't have a practice yet. Keeping dev_name() was Doug's suggestion.
But I like your idea better, so I will change to it. Thank you for it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250316/f5fcdd05/attachment-0001.sig>


More information about the dri-devel mailing list