commit | a3f1cf355e90e144f012cbb0472a6701dd832841 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Tue Apr 12 16:26:34 2016 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 04 20:20:50 2016 -0400 |
tree | a72fe4438a199c0b2d5778bd31bfe189f2b261f6 | |
parent | 9331b9ca813960ed05004821a771aa3a82db187c [diff] |
drm/amdgpu: use max_dw in ring_init Instead of specifying the total ring size calculate that from the maximum number of dw a submission can have and the number of concurrent submissions. This fixes UVD with 8 concurrent submissions or more. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>