Commit 99d1da67 authored by Feifei Xu's avatar Feifei Xu Committed by Alex Deucher
Browse files

drm/amdgpu:disable XGMI TA unload for A+A aldebaran



In gpu reset, XGMI TA unload will cause gpu hang.
Skip it on A+A aldebaran.

Signed-off-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ac41c396
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -791,8 +791,9 @@ static int psp_xgmi_unload(struct psp_context *psp)
	struct psp_gfx_cmd_resp *cmd;
	struct amdgpu_device *adev = psp->adev;

	/* XGMI TA unload currently is not supported on Arcturus */
	if (adev->asic_type == CHIP_ARCTURUS)
	/* XGMI TA unload currently is not supported on Arcturus/Aldebaran A+A */
	if (adev->asic_type == CHIP_ARCTURUS ||
		(adev->asic_type == CHIP_ALDEBARAN && adev->gmc.xgmi.connected_to_cpu))
		return 0;

	/*