diff options
author | 2019-08-01 11:44:17 -0400 | |
---|---|---|
committer | 2019-08-02 10:18:44 -0500 | |
commit | 19ed70ff5d2458798387274186e738dabc2e05ad (patch) | |
tree | 74deb881eec478619a3247af41fbe7d6ce90ecd2 /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | drm/amdgpu: Mark KFD VRAM allocations for wipe on release (diff) | |
download | linux-dev-19ed70ff5d2458798387274186e738dabc2e05ad.tar.xz linux-dev-19ed70ff5d2458798387274186e738dabc2e05ad.zip |
drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20
Fixes GPU reset crash.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index e604d46d5f12..25c4cf2d2128 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) |