[PATCH RFT 0/2] drm/bridge: Use per-client debugfs entry
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sat Jan 25 18:04:23 UTC 2025
On Sat, Jan 25, 2025 at 01:53:20PM +0100, Wolfram Sang wrote:
> The I2C core now offers a debugfs-directory per client. Use it and
> remove the custom handling in drm bridge drivers. I don't have the
> hardware, so I hope I can find people willing to test here. Build bots
> are happy. And for it6505, it even fixes a problem. See the patch
> description there.
>
> Looking forward to comments.
>
> Wolfram Sang (2):
> drm/bridge: it6505: Use per-client debugfs entry
> drm/bridge: ti-sn65dsi86: Use per-client debugfs entry
I'd say, it should be done in a slightly different way: bridges have the
debugfs_init() callback, which is used by drm_bridge_connector (and can
be used by other bridge-created connetors) in order to create per-bridge
debugfs data. Please consider using it to create per-bridge debugfs data.
Note, that callbacks gets connector's dentry as an argument, so bridges
still should probably create a subdir for their own stuff.
--
With best wishes
Dmitry
More information about the dri-devel
mailing list