drm/amdgpu: read CPER ring via debugfs
authorTao Zhou <tao.zhou1@amd.com>
Wed, 22 Jan 2025 08:57:53 +0000 (16:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Feb 2025 19:09:29 +0000 (14:09 -0500)
commit5a1428242952f2c59f184e3ea6e18f3d474c911b
tree834ba018ff20d1acea54b126194daffc3a2d4dff
parent4d614ce8ffd757e4c7944bf9b5598b4a250a8a61
drm/amdgpu: read CPER ring via debugfs

We read CPER data from read pointer to write pointer without changing
the pointers.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c