diff options
author | Maíra Canal <[email protected]> | 2022-12-19 09:06:17 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2022-12-22 14:58:55 -0300 |
commit | dbb23cf57178e1852b53eb544046eb06e3db9b4e (patch) | |
tree | 955e5a17e085793439974e82493d7b377b57f7eb /scripts/gdb/linux/mm.py | |
parent | 6fd80729f14e3f70d4c07ea91ac44ed5ab8dfe60 (diff) |
drm/debugfs: create debugfs late register functions
Although the device-centered debugfs functions can track requests for
the addition of DRM debugfs files at any time and have them added all
at once during drm_dev_register(), they are not able to create debugfs
files for modeset components, as they are registered after the primary
and the render drm_minor are registered.
So, create a drm_debugfs_late_register() function, which is responsible
for dealing with the creation of all the debugfs files for modeset
components at once. Therefore, the functions drm_debugfs_add_file()
and drm_debugfs_add_files() can be used in late_register hooks.
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Melissa Wen <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions