]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use the num_rings variable for checking vce rings
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Jan 2017 21:11:48 +0000 (16:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:29 +0000 (11:13 -0500)
commit76d6d4193e0696b79ad6f3fcc2ed5fda76eb4baa
tree84bf1b992c5bc85889fb68b37bdcddd5016d9d2d
parent45347146114d082e62c04e94f7165c05a8a4d2ee
drm/amdgpu: use the num_rings variable for checking vce rings

Difference families may have different numbers of rings. Use
the variable rather than a hardcoded number.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c