drm/amdgpu: Support reset-on-init on select SOCs
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 2 Sep 2024 06:04:39 +0000 (11:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:58 +0000 (17:06 -0400)
Add XGMI reset on init support to aldebaran and SOCs with GC v9.4.3.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Tested-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aldebaran.c

index b0f95a7..98fb0ba 100644 (file)
@@ -417,6 +417,7 @@ static struct amdgpu_reset_handler aldebaran_mode2_handler = {
 static struct amdgpu_reset_handler
        *aldebaran_rst_handlers[AMDGPU_RESET_MAX_HANDLERS] = {
                &aldebaran_mode2_handler,
+               &xgmi_reset_on_init_handler,
        };
 
 int aldebaran_reset_init(struct amdgpu_device *adev)