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

Commit a78ee078 authored by Vasantha Balla's avatar Vasantha Balla Committed by Gerrit - the friendly Code Review server
Browse files

vidc_3x: Fix qbuf error in gralloc buffers encoding



Partial cmo needs single mapping of dmabuf.But gfx
device does not follow above restriction. So ion
shows warning during begin_cpu_access of these buffers.
This will not cause functionality failure and hence
caching error is not returned in qbuf.

Change-Id: Ic114d10bc523384a651ba8a7d5888422a9c2b35a
Signed-off-by: default avatarVasantha Balla <vballa@codeaurora.org>
parent 747b4a8b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -971,9 +971,7 @@ int msm_vidc_qbuf(void *instance, struct v4l2_buffer *b)
				&binfo->device_addr[i]);
	}

	rc = qbuf_cache_operations(inst, binfo);
	if (rc)
		return rc;
	qbuf_cache_operations(inst, binfo);

	if (inst->session_type == MSM_VIDC_DECODER)
		return msm_vdec_qbuf(instance, b);