aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorshaoyunl <shaoyun.liu@amd.com>2022-08-18 14:13:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-08-22 16:47:09 -0400
commit947f63f17e1d91cee19f1bc071e825b28ce4da98 (patch)
treebf54ba17f00296213119ae72b69a29625340335a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup. (diff)
downloadlinux-dev-947f63f17e1d91cee19f1bc071e825b28ce4da98.tar.xz
linux-dev-947f63f17e1d91cee19f1bc071e825b28ce4da98.zip
drm/amdgpu: Remove the additional kfd pre reset call for sriov
The additional call is caused by merge conflict Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: shaoyunl <shaoyun.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 4cd87dbb108c..d7eb23b8d692 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -4417,8 +4417,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,
retry:
amdgpu_amdkfd_pre_reset(adev);
- amdgpu_amdkfd_pre_reset(adev);
-
if (from_hypervisor)
r = amdgpu_virt_request_full_gpu(adev, true);
else