Merge "video: driver: fix AV1D fence timing failures during flush sequence"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

melakukan
786981d774
@@ -5564,8 +5564,10 @@ int msm_vidc_flush_buffers(struct msm_vidc_inst *inst,
|
||||
if (buf->attr & MSM_VIDC_ATTR_QUEUED ||
|
||||
buf->attr & MSM_VIDC_ATTR_DEFERRED) {
|
||||
print_vidc_buffer(VIDC_HIGH, "high", "flushing buffer", inst, buf);
|
||||
if (!(buf->attr & MSM_VIDC_ATTR_BUFFER_DONE))
|
||||
if (!(buf->attr & MSM_VIDC_ATTR_BUFFER_DONE)) {
|
||||
buf->data_size = 0;
|
||||
msm_vidc_vb2_buffer_done(inst, buf);
|
||||
}
|
||||
msm_vidc_put_driver_buf(inst, buf);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user