]> git.hungrycats.org Git - linux/commit
drm/amdkfd: Do not fail process debugfs setup on debugfs errors
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Fri, 10 Jul 2026 11:25:53 +0000 (16:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:10 +0000 (09:15 -0400)
commit4a82dba89fee39781e50236d46413e460c01c2a3
treee0ddf87122a2e2c41fad6825b0bca27c6838e01f
parentbf65973e5f5e1d6f7398c43bb8bc78ec6c1f3116
drm/amdkfd: Do not fail process debugfs setup on debugfs errors

debugfs is intended for debugging only, and failures to create debugfs
entries should not affect normal operation.

Remove the check for debugfs_create_dir() in kfd_debugfs_add_process().
If debugfs entries cannot be created, continue without them instead of
reporting an unnecessary error.

Fixes: 325de6bf3328 ("drm/amdkfd: expose pasid of secondary contexts by debugfs")
Reported-by: Dan Carpenter <error27@gmail.com>
Cc: Zhu Lingshan <lingshan.zhu@amd.com>
Cc: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c