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

Commit 5b4387b5 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "msm: vidc: Update offset and size to optimize cache operations""

parents 060ba552 9f6d0e32
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6403,8 +6403,8 @@ int msm_comm_qbuf_cache_operations(struct msm_vidc_inst *inst,
					V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
				if (!i) { /* yuv */
					skip = false;
					offset = vb->planes[i].data_offset;
					size = vb->planes[i].bytesused;
					offset = 0;
					size = vb->planes[i].length;
					cache_op = SMEM_CACHE_INVALIDATE;
				}
			}
@@ -6420,8 +6420,8 @@ int msm_comm_qbuf_cache_operations(struct msm_vidc_inst *inst,
					V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
				if (!i) { /* bitstream */
					skip = false;
					offset = vb->planes[i].data_offset;
					size = vb->planes[i].bytesused;
					offset = 0;
					size = vb->planes[i].length;
					cache_op = SMEM_CACHE_INVALIDATE;
				}
			}