From: Andrey Grodzovsky Date: Thu, 1 Aug 2019 15:44:17 +0000 (-0400) Subject: drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=19ed70ff5d2458798387274186e738dabc2e05ad;p=linux.git drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20 Fixes GPU reset crash. Signed-off-by: Andrey Grodzovsky Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index e604d46d5f127..25c4cf2d21286 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -896,6 +896,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)