]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: add debugfs support on per client-id basis
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 4 Jul 2025 07:55:46 +0000 (13:25 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 4 Jul 2025 13:59:06 +0000 (15:59 +0200)
commit1fd45bc21cecea390ab9c21a2406bbbe3eed4b93
tree7b27c2bd9f3c898578306936d1736f6d5324e79d
parent348fe34a6186a53acda44a3501d4e5a4f1f5958e
drm: add debugfs support on per client-id basis

add support to add a directory for each client-id
with root at the dri level. Since the clients are
unique and not just related to one single drm device,
so it makes more sense to add all the client based
nodes with root as dri.

Also create a debugfs file which show the process
information for the client and create a symlink back
to the parent drm device from each client.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20250704075548.1549849-3-sunil.khatri@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/drm_debugfs.c
drivers/gpu/drm/drm_file.c
include/drm/drm_debugfs.h
include/drm/drm_file.h