summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2021-08-20 21:03:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-09-01 23:55:11 +0300
commit37df9560cd3e7cb23f28ab04514f0a2ab08b3cea (patch)
tree02f78409f50ec7b2bd9e32f3974a4184426f55d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
parentf9e476c5bb342bdc7f615c0e320000a96d5e3a0a (diff)
downloadlinux-37df9560cd3e7cb23f28ab04514f0a2ab08b3cea.tar.xz
drm/amd/amdgpu: New debugfs interface for MMIO registers (v5)
This new debugfs interface uses an IOCTL interface in order to pass along state information like SRBM and GRBM bank switching. This new interface also allows a full 32-bit MMIO address range which the previous didn't. With this new design we have room to grow the flexibility of the file as need be. (v2): Move read/write to .read/.write, fix style, add comment for IOCTL data structure (v3): C style comments (v4): use u32 in struct and remove offset variable (v5): Drop flag clearing in op function, use 0xFFFFFFFF for broadcast instead of 0x3FF, use mutex for op/ioctl. Signed-off-by: Tom St Denis <tom.stdenis@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_debugfs.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
index 141a8474e24f..6d4965b2d01e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
@@ -22,7 +22,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
-
/*
* Debugfs
*/