radeon/vce: implement VCE dual instance support
authorLeo Liu <leo.liu@amd.com>
Thu, 25 Jun 2015 14:14:14 +0000 (10:14 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2015 13:02:31 +0000 (15:02 +0200)
commit09def7e1e06827ab1eae091f0e765d91c6715cf9
tree61761c5eb3be69ec387471a3a90f335e39423c0b
parent4dfcf6e3a91be97fcf9d3f44e76a7a389f8f40b2
radeon/vce: implement VCE dual instance support

VCE dual instances are encoding in parallel, it needs two frames for
encoding with their own parameters in one IB. Master instance will check
the task info to find another frame, assign it to the slave instance

Signed-off-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeon/radeon_vce.c
src/gallium/drivers/radeon/radeon_vce.h
src/gallium/drivers/radeon/radeon_vce_50.c