diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2023-10-06 11:19:03 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-30 00:49:35 +0300 |
| commit | af39e6f4d8032b101907cc2ac12a21a778da568d (patch) | |
| tree | cf7fe41d446c07b43f162d2c8b04cb4d0c3c88f1 /lib/crypto/mpi/mpi-cmp.c | |
| parent | 9a5095e785c38ab8d9f3d91f4ee76f4f73ec4adc (diff) | |
| download | linux-af39e6f4d8032b101907cc2ac12a21a778da568d.tar.xz | |
drm/amdgpu: Add reg_state sysfs attribute
Add reg_state attribute to fetch the register snapshot of different
IPs like XGMI, WAFL,PCIE and USR. To get a snapshot for a particular IP
1) Open the sysfs file
2) Seek to the offset as defined in amdgpu_sysfs_reg_offset
3) Read
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
