radeon/vcn: separate send cmd call from end frame
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 17 Oct 2018 19:03:22 +0000 (15:03 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 23 Oct 2018 12:50:02 +0000 (08:50 -0400)
commit40fceb55f361eb1e0fb9da8ed607288f956bbb7b
treed58f5dd10584edbd106f7af1bb774c6f33a019e1
parent4f1f128f8e6848aa87efc67799199a099103876b
radeon/vcn: separate send cmd call from end frame

Use function pointer for sending cmd in end_frame call. By doing this, we can
assign different cmd sending logics for Jpeg decode later.

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
src/gallium/drivers/radeon/radeon_vcn_dec.h