video: driver: handle dequeued buffers at once

Firmware returns meta buffer after actual buffer but
client needs meta buffer before actual buffer. Handle
the case using MSM_VIDC_ATTR_DEQUEUED flag.

Change-Id: I99048a2f110a1b14bc4bb140b6211afa340c9f38
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
This commit is contained in:
Maheshwar Ajja
2020-12-11 16:27:34 -08:00
rodzic bdc2de6c93
commit 55ab2680d7
5 zmienionych plików z 86 dodań i 48 usunięć

Wyświetl plik

@@ -151,6 +151,7 @@ enum msm_vidc_buffer_attributes {
MSM_VIDC_ATTR_READ_ONLY = BIT(1),
MSM_VIDC_ATTR_PENDING_RELEASE = BIT(2),
MSM_VIDC_ATTR_QUEUED = BIT(3),
MSM_VIDC_ATTR_DEQUEUED = BIT(4),
};
enum msm_vidc_buffer_region {