Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88a4e7fb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Enable rbr pending flag for readonly buffer"

parents 2171b285 1352fb73
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6484,7 +6484,10 @@ void msm_comm_put_vidc_buffer(struct msm_vidc_inst *inst,
			if (msm_smem_unmap_dma_buf(inst, &mbuf->smem[i]))
				print_vidc_buffer(VIDC_ERR,
					"dqbuf: unmap failed..", inst, mbuf);
		} /* else RBR event expected */
		} else {
			/* RBR event expected */
			mbuf->flags |= MSM_VIDC_FLAG_RBR_PENDING;
		}
	}
	/*
	 * remove the entry if plane[0].refcount is zero else