summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-10-06 13:49:03 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-11-29 16:49:35 -0500
commitaf39e6f4d8032b101907cc2ac12a21a778da568d (patch)
treecf7fe41d446c07b43f162d2c8b04cb4d0c3c88f1 /scripts/gdb/linux/utils.py
parent9a5095e785c38ab8d9f3d91f4ee76f4f73ec4adc (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 <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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions