st/omx/enc: use PIPE_USAGE_STAGING for output buffer
authorLeo Liu <leo.liu@amd.com>
Thu, 23 Mar 2017 14:29:47 +0000 (10:29 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 23 Mar 2017 18:43:42 +0000 (14:43 -0400)
commit54f9f34181ff3f6840472d16000e0092d12eb64d
tree91243ac3b47b70bf2fab641a9f47c2dc1eeec007
parent378025ca8b82c5f2068e202f1016450d97820d99
st/omx/enc: use PIPE_USAGE_STAGING for output buffer

Workaround an unknown bug with inside the transfer_map for certain
ASIC, also tested with un-affected ASICs, the performance actually
improved slightly.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/omx/vid_enc.c