diff options
author | Lijo Lazar <[email protected]> | 2023-10-06 13:49:03 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-11-29 16:49:35 -0500 |
commit | af39e6f4d8032b101907cc2ac12a21a778da568d (patch) | |
tree | cf7fe41d446c07b43f162d2c8b04cb4d0c3c88f1 /scripts/generate_rust_analyzer.py | |
parent | 9a5095e785c38ab8d9f3d91f4ee76f4f73ec4adc (diff) |
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 <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions