diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2023-10-06 13:49:03 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 16:49:35 -0500 |
| commit | af39e6f4d8032b101907cc2ac12a21a778da568d (patch) | |
| tree | cf7fe41d446c07b43f162d2c8b04cb4d0c3c88f1 /scripts/stackusage | |
| parent | drm/amdgpu: add amdgpu_reg_state.h (diff) | |
| download | linux-af39e6f4d8032b101907cc2ac12a21a778da568d.tar.gz linux-af39e6f4d8032b101907cc2ac12a21a778da568d.zip | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
