diff options
| author | Frank Min <[email protected]> | 2017-06-12 03:02:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-15 18:45:47 +0000 |
| commit | a1b9022a3bfbdae234f2ec52b92e1566372ecd3f (patch) | |
| tree | 05404d6d657a3836c1a72fd2a32cf5527a5768a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
| parent | drm/amdgpu/vce4: Remove vce interrupt enable related code for sriov (diff) | |
| download | kernel-a1b9022a3bfbdae234f2ec52b92e1566372ecd3f.tar.gz kernel-a1b9022a3bfbdae234f2ec52b92e1566372ecd3f.zip | |
drm/amdgpu: Skip uvd and vce ring test for SRIOV
Since rptr would not be accessed on later secure asics in sriov, remove
the ring test.
Signed-off-by: Frank Min <[email protected]>
Signed-off-by: Xiangliang.Yu <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index b692ad402252..c855366521ab 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c @@ -937,9 +937,9 @@ int amdgpu_vce_ring_test_ring(struct amdgpu_ring *ring) unsigned i; int r, timeout = adev->usec_timeout; - /* workaround VCE ring test slow issue for sriov*/ + /* skip ring test for sriov*/ if (amdgpu_sriov_vf(adev)) - timeout *= 10; + return 0; r = amdgpu_ring_alloc(ring, 16); if (r) { |
