]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: flush all cached ras bad pages to eeprom
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 2 Jul 2024 10:16:52 +0000 (18:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jul 2024 14:13:35 +0000 (10:13 -0400)
commitc04706914ddeb9098a509a5647c0b46c7e07cf11
treeed013ad0d8aab2d58e1451e680f7750b2f34a8da
parentc39385710cfd9ef22f6a2405d01ebcd6019e8767
drm/amdgpu: flush all cached ras bad pages to eeprom

Before uninstalling gpu driver, flush all cached ras
bad pages to eeprom.

v2:
  Put the same code into a function and reuse the function.

Signed-off-by: YiPeng Chai <YiPeng.Chai@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.c