rpmsg: missing patch
rpmsg: omx: return correct handle count in 'OMX_IOCPVRREGISTER'

omap_ion_share_fd_to_buffers is always returning 2 in num_handles
even for fd's pointing to 1D memory. In order to return the correct
number of handles to rpmsg client in this ioctl call, 'break' out
of for loop instead of continuing.

Change-Id: Ic7fecc682895a63ad7b7f74b8824f0dc0eb57481
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Tyler Luu <tluu@ti.com>
SMC: Update UUID to match generic, common secure playback driver

Remove WVDRM prepends as this UUID is now generic.

Change-Id: I8b890d3f8227523635a394c9b02d409d597def8c
Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>
BV: Update headers to 2.2

Add bvbltparams.src2auxdstrect,
bvbltparams.maskauxdstrect,
BVFLAG_SRC2_AUXDSTRECT and BVFLAG_MASK_AUXDSTRECT;
Add BVAT_reserved2 bvauxtype;

Change-Id: I40c51f48642693fc8359fcfa15f37664a52f5823
Signed-off-by: Jack Yen <jyen@ti.com>
gcbv: improve check for fill condition

When a usecase generates a fill with a 1x1 destination
we were hitting the blt rather than fill path. This change
improves the check for fill to validate whether there is
a virtual address which the fill code needs anyway as it
directly accessing the memory provided by the src1 buffer
descriptor.

Change-Id: Iafae2dcb8a9b7020d07c6ac7f46a950efb6e4996
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
OMAPLFB: Dont foward compositions to DSSCOMP if overlay is Zero

Do not foward compositions to DSSCOMP in case overlay number
passed by HWC is zero. The dsscomp->num_overlay = 0 means
that there is no primary display and no rendering is required.

Change-Id: If7b582efeb55ce84878d0bfbd19eabd2ebd3afaa
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
Signed-off-by: Dandawate Saket <dsaket@ti.com>
OMAPDSS: implementation of MEM2MEM mode with blanked pannel.

This change implements MEM2MEM mode for pannels blanked case.

Change-Id: Ic030682e7aaa33dd596d5150da23ab9dc1fc20f7
Signed-off-by: Artem Rudenko <artemrudenko@ti.com>
OMAPDSS: DSSCOMP: support of MEM2MEM mode with blanked pannel

This change implements MEM2MEM mode for pannels blanked case.

Change-Id: Ia1e0034c73f196d877283e5ecc974f277988265e
Signed-off-by: Artem Rudenko <artemrudenko@ti.com>
gcx: split in several files by function.

Also added GC_SHOW_TIME switch.

Change-Id: I8ee648d4bd21147402f9fd2d1848578ef266be3c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added scaling support.

Includes support for nv12 source.

Change-Id: I218d59fecb75bcae1a924a925cc4aa3cce666c6c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: fix mmu context switch issues.

On an mmu context switch, an mmu flush is required.

When the mmu is enabled after a power off, the mmu context
at the head of the cmd buffer queue is made current but the
cached current context was not updated so the next process
to try a commit would throw an l3 bus error.

Change-Id: I21414576c574d5cdeebd917f5b02d8d1e4ce3115
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: fixed pulse skipping init bug.

Change-Id: I20e3091df86cdcea10559f181a01d3959a323443
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: validate dest rect after clipping

According to bltsville spec, rectangles should not be checked
for validity until clipping has been applied.  So we must clip
the dest rect before validating it.  Removed the error checking
from the generic rect converter macro.  Added error checking
specifically for clip rect and dest rect, post clipping. Proper
validity checking of other rects is TBD.

Change-Id: I13854c150b2549fd5a91895c7d594d00045affec
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: adjust cache rect based on orientation

Change-Id: I542f015e7ce79098143057f21ffb2b8341e03c86
Signed-off-by: Jack Yen <jyen@ti.com>
gcx: update version to 2.2.

Change-Id: I6adb0ebb2a5a74ba90a1c7e56a3db97668d2f1f5
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: change uvshift for NV12 rotation to work properly

90/270 degree rotation is fixed by adjusting the uv plane
address to get the proper uvplane starting address after the
rotation.

Change-Id: If4068d2866c00ca34c30137a417ca4b8faa9aefd
Signed-off-by: Jack Yen <jyen@ti.com>
gcx: added gcpwr_get_speed function and cur_freq debugfs entry.

Determines the current speed of GC320 in megahertz.

Change-Id: Ia1b17d4ac1fa4df403fc6c4bebdc574e39419ee0
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added generic format parser.

RGB and YUV formats are now generically supported.

Change-Id: Ife091091ffb538cdc449385060d3919d7375e267
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: error handling improvements and fixes.

Change-Id: I4255b5935d070e47d7f286c2bfadb74f93d275a8
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: destination setup enhanced.

Separated common setup shared between all
operations from parameters that only apply
for bitblt. Scaler will have different setup
for those parameters (for ex. rotation).

Change-Id: Id28a62d30110b0fed4ff8abdbe5b6a6976a5316c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>