radeon/vce: add config task and put task info into encoder v2
authorLeo Liu <leo.liu@amd.com>
Mon, 1 Jun 2015 17:48:24 +0000 (13:48 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2015 13:02:30 +0000 (15:02 +0200)
commit57fabe9f3a21a2a370284575833637d37e987cb5
tree61d5ba18568427336ac895b4b70f6b2e08c2f6a1
parente91a67abfa5112acd481ee4a3f07c03f6ff2708c
radeon/vce: add config task and put task info into encoder v2

The config task has own task ID, extract the configuration functions
into config task.

v2 (chk): calculate offset automatically

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_40_2_2.c
src/gallium/drivers/radeon/radeon_vce_50.c