radeon/vcn: create cs based on ring type
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 17 Oct 2018 19:03:21 +0000 (15:03 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 23 Oct 2018 12:50:02 +0000 (08:50 -0400)
commit4f1f128f8e6848aa87efc67799199a099103876b
treecde3e0084db0b50347f4e63788edda9e57cd7a86
parentf7116e4ff852c1a1a524195a21b98e624e95bd0e
radeon/vcn: create cs based on ring type

Add RING_VCN_JPEG for VCN Jpeg decode, and keep RING_VCN_DEC for other codecs.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_vcn_dec.c