video: driver: add fence support

Add fence support for decoder output buffers for
the consumer to use it to improve latency.

Change-Id: I7384b4a9793248988a2d2d546a535f26636d5bb3
Signed-off-by: Maheshwar Ajja <quic_majja@quicinc.com>
This commit is contained in:
Maheshwar Ajja
2022-01-19 20:54:17 -08:00
committed by Gerrit - the friendly Code Review server
parent 4b2e594b7b
commit ef829ce44f
8 changed files with 233 additions and 3 deletions

View File

@@ -153,6 +153,7 @@ struct msm_vidc_inst {
struct msm_vidc_statistics stats;
struct msm_vidc_inst_capability *capabilities;
struct completion completions[MAX_SIGNAL];
struct msm_vidc_fence_context fence;
enum priority_level priority_level;
u32 firmware_priority;
bool active;