]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: clear pa and mca record counter when resetting eeprom
authorganglxie <ganglxie@amd.com>
Thu, 5 Jun 2025 06:00:28 +0000 (14:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:15 +0000 (12:19 -0400)
commitd0cc8d2b7df1848f98f0fea8135ba706814b1d13
tree452794cb4aeff2127c6be3acc2a29fd6ca703ff8
parent4108c2be12ebe78accb40d43f4713a7cc481b18a
drm/amdgpu: clear pa and mca record counter when resetting eeprom

clear pa and mca record counter when resetting eeprom, so that
ras_num_bad_pages can be calculated correctly

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