diff options
author | 2016-04-15 13:08:44 -0400 | |
---|---|---|
committer | 2016-05-04 20:30:11 -0400 | |
commit | adcec288bc066065310a6668755c673264ee12d9 (patch) | |
tree | 627121cdac088bae7a9070f4a9e00889e594e3d0 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | drm/amd/amdgpu: Drop print_status callbacks. (diff) | |
download | wireguard-linux-adcec288bc066065310a6668755c673264ee12d9.tar.xz wireguard-linux-adcec288bc066065310a6668755c673264ee12d9.zip |
drm/amd/amdgpu: Add debugfs entries for smc/didt/pcie
This adds 3 new files that can be read/written to access
indirect GPU registers.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 6cc174f9d583..1012bd3f3482 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1953,7 +1953,7 @@ struct amdgpu_device { struct amdgpu_debugfs debugfs[AMDGPU_DEBUGFS_MAX_COMPONENTS]; unsigned debugfs_count; #if defined(CONFIG_DEBUG_FS) - struct dentry *debugfs_regs; + struct dentry *debugfs_regs[AMDGPU_DEBUGFS_MAX_COMPONENTS]; #endif struct amdgpu_atif atif; struct amdgpu_atcs atcs; |