[PATCH] drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20

Deucher, Alexander Alexander.Deucher at amd.com
Thu Aug 1 15:59:22 UTC 2019


Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
________________________________
From: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Sent: Thursday, August 1, 2019 11:47 AM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Grodzovsky, Andrey <Andrey.Grodzovsky at amd.com>
Subject: [PATCH] drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20

Fixes GPU reset crash.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 4405b98..f760fba 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -851,6 +851,7 @@ static const struct amdgpu_asic_funcs vega20_asic_funcs =
         .get_pcie_usage = &soc15_get_pcie_usage,
         .need_reset_on_init = &soc15_need_reset_on_init,
         .get_pcie_replay_count = &soc15_get_pcie_replay_count,
+       .reset_method = &soc15_asic_reset_method
 };

 static int soc15_common_early_init(void *handle)
--
2.7.4

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20190801/9f34b09a/attachment.html>


More information about the amd-gfx mailing list