]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/amdgpu: track the number of vce rings
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Aug 2016 20:56:21 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2016 15:21:43 +0000 (11:21 -0400)
commit75c65480ba7d56e2ee164057ce8ab879931a3978
tree206539d4b9cbd5495b699b069f098d0de212e1f5
parent810ddc3ab52dd84f4cd28ee8673678aece457a59
drm/amdgpu: track the number of vce rings

Rather than using a hardcoded value.  This allows
different versions to expose more or less rings.

No functional change.

Reviewed-by: JimQu <Jim.Qu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c