]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Reset RAS table if header is invalid
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 8 Apr 2025 03:25:33 +0000 (08:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:14 +0000 (16:48 -0400)
commit6ffc6e056febb9ebb0d6a8fe0379ac9d8f4ec4a6
tree590adf535d4fa505704565ada0d96f80ed4a17b5
parentb695dd3bb8e806916ba64a62fae918c60004cc4d
drm/amdgpu: Reset RAS table if header is invalid

If a valid header is not found during RAS eeprom init, consider it as
new and reset RAS table info.

Signed-off-by: Lijo Lazar <lijo.lazar@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