diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-02-10 14:10:12 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-18 16:43:09 -0500 |
commit | 88293c03c87e4db28890dd4e4ccb3640eadb4a08 (patch) | |
tree | e2b2e389ba0a51a4c28a516ab85df82228c26520 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | |
parent | 6e80fb8ab04f6c4f377e2fd422bdd1855beb7371 (diff) | |
download | linux-88293c03c87e4db28890dd4e4ccb3640eadb4a08.tar.gz linux-88293c03c87e4db28890dd4e4ccb3640eadb4a08.tar.bz2 linux-88293c03c87e4db28890dd4e4ccb3640eadb4a08.zip |
drm/amdgpu: do not keep debugfs dentry
Cleanup unnecessary debugfs dentries and surrounding functions.
v3: remove return value check for debugfs_create_file()
v2: remove ttm_debugfs_entries array.
do not init variables.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h index d2987536d7cd..f955bccd6462 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h @@ -64,10 +64,6 @@ struct amdgpu_mman { bool initialized; void __iomem *aper_base_kaddr; -#if defined(CONFIG_DEBUG_FS) - struct dentry *debugfs_entries[8]; -#endif - /* buffer handling */ const struct amdgpu_buffer_funcs *buffer_funcs; struct amdgpu_ring *buffer_funcs_ring; |