]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: return early if debugfs is not initialized
authorNirmoy Das <nirmoy.das@amd.com>
Wed, 6 Oct 2021 09:06:33 +0000 (11:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:53:14 +0000 (15:53 -0400)
commit7ef3869677e7a8e5d6857e05f8c1bba710b31cd0
treeaa78c693055de0415e4a952aab10844ce7a67718
parent315025e2f5bae0f9aab9b4fcbbde10bd136cf43c
drm/amdgpu: return early if debugfs is not initialized

Check first if debugfs is initialized before creating
amdgpu debugfs files.

References: https://gitlab.freedesktop.org/drm/amd/-/issues/1686
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c