]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add uvd enc rings
authorJames Zhu <James.Zhu@amd.com>
Fri, 29 Sep 2017 21:29:06 +0000 (17:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 21:44:00 +0000 (17:44 -0400)
commit773775553de65ad7b0c95b190faef916eb39b55a
tree0f649e20e31fb5eb2c55e3f78b830f35159813ef
parentad2970c5acc47e53a96341ad610d6e2c6586d1a8
drm/amdgpu: add uvd enc rings

UVD 6.3 has two UVD encode rings.  Add the ring structures and initialize the hw ring buffers.
Currently only ASIC Polaris10/11/12 uses UVD6.3 encode engine on HEVC encoding.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-and-Tested-by: Leo Liu <leo.liu@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/uvd_v6_0.c