Add XGMI reset on init support to aldebaran and SOCs with GC v9.4.3.

Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Feifei Xu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
---
v2:
        Use renamed variable

 drivers/gpu/drm/amd/amdgpu/aldebaran.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/aldebaran.c 
b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
index b0f95a7649bf..98fb0ba4f9cb 100644
--- a/drivers/gpu/drm/amd/amdgpu/aldebaran.c
+++ b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
@@ -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)
-- 
2.25.1

Reply via email to