From: Leo Liu Date: Wed, 6 May 2015 19:20:41 +0000 (-0400) Subject: drm/amdgpu: implement VCE two instances support X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~25^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbc553a1acce5d1792ba778273ffbea5af1695d;p=pandora-kernel.git drm/amdgpu: implement VCE two instances support VCE 3.0 has two indentical instances in the engine, they share the same registers name in differrent memory block distinguished by the grbm_gfx_index, we set to master instance after init, it will dispatch task to slave instance. These two instances will share the same firmware, but have their own stacks and heaps. v2: add mutex for using grbm_gfx_index Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König --- Reading git-diff-tree failed