aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2025-07-04 07:55:45 +0000
committerChristian König <[email protected]>2025-07-04 13:58:22 +0000
commit348fe34a6186a53acda44a3501d4e5a4f1f5958e (patch)
treee154ef2d8ab21360b26a5236989d485b6efdc28d /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/sched: De-clutter drm_sched_init (diff)
downloadkernel-348fe34a6186a53acda44a3501d4e5a4f1f5958e.tar.gz
kernel-348fe34a6186a53acda44a3501d4e5a4f1f5958e.zip
drm: move drm based debugfs funcs to drm_debugfs.c
Requirement is to create per client-id based directories to hold key debugging information and for that access to root debugfs dentry is need which is not in one place and that information cannot be stored in drm_device. Move the debugfs functionality from drm_drv.c and drm_accel.c to drm_debugfs.c This enables debugfs root node reference directly drm_debugfs.c and hence enable to create per client-id directory. v8: Create drm_accel dentry only if it's config is enabled (Jeff, Hugo) v8: Merge drm_drv and drm_accel debugfs patches (Koenig, Christian) v10: Since we moved drm_debugfs_root, hence to handle drm bridge debugfs add a new function which call drm_bridge_debugfs_params where drm_debugfs_root is accessible. Suggested-by: Christian König <[email protected]> Signed-off-by: Sunil Khatri <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions