diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 13 | 
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 23085b352cf2..377fe20bce23 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -462,18 +462,7 @@ int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring,  			timeout = adev->gfx_timeout;  			break;  		case AMDGPU_RING_TYPE_COMPUTE: -			/* -			 * For non-sriov case, no timeout enforce -			 * on compute ring by default. Unless user -			 * specifies a timeout for compute ring. -			 * -			 * For sriov case, always use the timeout -			 * as gfx ring -			 */ -			if (!amdgpu_sriov_vf(ring->adev)) -				timeout = adev->compute_timeout; -			else -				timeout = adev->gfx_timeout; +			timeout = adev->compute_timeout;  			break;  		case AMDGPU_RING_TYPE_SDMA:  			timeout = adev->sdma_timeout;  | 
