drm/amdgpu: Register MCE notifier for Aldebaran RAS
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 22 Sep 2021 18:49:43 +0000 (14:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:53:38 +0000 (15:53 -0400)
commit12b2cab79017ebe598c74493ac1cfc5934d3ccc2
tree7f99096fa7029e34d70311edec9695bae66f224f
parentf38ce910d8dfb7da439d0578d4b97259168306cd
drm/amdgpu: Register MCE notifier for Aldebaran RAS

On Aldebaran, GPU driver will handle bad page retirement
for GPU memory even though UMC is host managed. As a result,
register a bad page retirement handler on the mce notifier
chain to retire bad pages on Aldebaran.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c