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

Fixes GPU reset crash.

Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to