[PATCH v3 1/6] drm/debugfs: create device-centered debugfs functions

Maxime Ripard maxime at cerno.tech
Thu Dec 8 12:12:02 UTC 2022


On Wed, Dec 07, 2022 at 10:23:20AM -0300, Maíra Canal wrote:
> Introduce the ability to track requests for the addition of DRM debugfs
> files at any time and have them added all at once during
> drm_dev_register().
> 
> Drivers can add DRM debugfs files to a device-managed list and, during
> drm_dev_register(), all added files will be created at once.
> 
> Now, the drivers can use the functions drm_debugfs_add_file() and
> drm_debugfs_add_files() to create DRM debugfs files instead of using the
> drm_debugfs_create_files() function.
> 
> Co-developed-by: Wambui Karuga <wambui.karugax at gmail.com>
> Signed-off-by: Wambui Karuga <wambui.karugax at gmail.com>
> Signed-off-by: Maíra Canal <mcanal at igalia.com>

Reviewed-by: Maxime Ripard <maxime at cerno.tech>

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


More information about the dri-devel mailing list