drm/amdgpu: Fix tdr3 could hang with slow compute issue
authorEmily Deng <Emily.Deng@amd.com>
Tue, 15 Oct 2019 02:08:22 +0000 (10:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:50:23 +0000 (15:50 -0400)
commitbcccee89f48c1e96b2aea067507e89f3581693bb
tree9287d7c56d1884884ef1844d55998749b925db9f
parentb2c18f0a9c8bd0fa5c1239830b787d5f8288f7b5
drm/amdgpu: Fix tdr3 could hang with slow compute issue

When index is 1, need to set compute ring timeout for sriov and passthrough.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c