remove compilation error by changing int to uint32_t Signed-off-by: Supreet Mysore Suresh <supreet@codeaurora.org>

Change-Id: Ia7de2f4a9eae4cc16f957163683ddf83c135d379
Signed-off-by: Supreet Mysore Suresh <supreet@codeaurora.org>
msm: mdss: Add plane alpha support

Clean up the blending rule to follow blend_op set from hwc.
Use modulate alpha for plane alpha when it is not 0xff.

Change-Id: Iad7217563bcae5e89fe8e50954494f6afdcb8e79
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
msm: mdss: Do not time out for vsync reads

The userspace does a blocking read on the vsync node. However,
when the screen is idle the read returns after timeout waking up
the userspace thread. Remove the timeout so that the read blocks
until the vsync is updated.

Change-Id: Ieaa1c180d473256da14302875dfc0558d23123aa
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
msm: vidc: Handle FBD's with ARF flag

For VP8 some frames are used only for decoding and not for display.
FW sends FBD with DROP_FRAME flag set for this frames.These are queued
to driver by setting DROP_FRAME flag. Clients can decide how to handle
these FBD's.

Change-Id: I278637871e4fdeef8b4089b5e04596de88a543ad
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
msm: vidc: Make msm_vidc_mode bitwise

Making msm_vidc_mode bitwise in preparation for additional modes to be
added.

Change-Id: I36ec9ad0e699cc6d6892205aac846314125faf18
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Add support for V4L2_CID_MPEG_VIDC_SET_PERF_LEVEL

V4L2_CID_MPEG_VIDC_SET_PERF_LEVEL allows for clients to request higher
than normal performance from the core.

Change-Id: I0cd4e56854f35bacd2aa26146e990e0537b3909f
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
[media] v4l: Fix conflicting values of two controls

Due to an errant conflict resolution, V4L2_CID_MPEG_VIDC_VIDEO_H264_\
VUI_TIMING_INFO and V4L2_CID_MPEG_VIDC_VIDEO_SYNC_FRAME_DECODE share
the same constant value.  This commit assigns a new constant to
VUI_TIMING_INFO.

Change-Id: I34170dc1e5de9d5d0ff37d56112cf2b59ea7eefc
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Add support for dumping packets

Whenever we read and write from queues add support for logging the
packet being written or read.  As this produces heavy kmsg traffic, also
add a dynamic fallback option to use ftrace.  Output to ftrace can be
triggered by 'echo 1 > debugfs/msm_vidc/debug_output'

Change-Id: Ie221c60ab465605ede332ac7eaadfb4b26c19e01
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Add support for ring buffer and frame assembly

Add capabilities to optimize input buffers memory usage by using a
single ring buffer and at the same time provide to firmware a
contiguous buffer to handle frame assembly internally avoiding memory
copies.

Change-Id: I37badbb86b6990c9bf47a86042290c0a1052b68c
Signed-off-by: Jorge Solano Altamirano <jsolano@codeaurora.org>
msm: vidc: Add support to process EBD flags

FW returns UNSUPPORTED_INPUT flags in EBD message if
the bitstream is not supported by Venus FW. This needs
to be informed to client to handle the session properly.

Change-Id: Ib5048f6edb69511c2f4ab6cbf481e11302de00fb
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
qdsp6v2: Use ADSP loader as in-kernel component using sysfs node

ADSP is loaded as a seperate module using insmod. Use adsp loader
as in-kernel component. Loading the adsp is triggered using sysfs
node. Once file system is loaded an entry is written to the sysfs
node. This triggers the registered callback function and loads
the ADSP.

Change-Id: Id25ae2c16a8f1de04136a44d2da5c319cf0173aa
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
ASoC: msm: Add support for flexible period size and count

Add support for flexible buffer size and count for audio playback
and capture paths.
Make sure the size to allocate or memory map is multiple
of 4K bytes.

Change-Id: Ie125bc8a121088233b20e1ad08d8ec35291b827f
Signed-off-by: Ravi Kumar Alamanda <ralama@codeaurora.org>
ALSA: include: Add new ioctl for metadata mode

Add a new ioctl to support metadata mode in lpa driver. This ioctl
allows lpa driver to work in default alsa compliant mode and also
metadata mode.

CRs-Fixed: 458904 491077 490992
Change-Id: I8111e8652bbfb6dd93bdbda69bd16f53b45cb756
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
msm_ipc_router: Allow processes in the oncrpc group to use it freely

Instead of adding rild to the current catch-all net-raw group,
treat the oncrpc group as another catch-all.
tspdrv: Add LG's timed_output based interface

Change-Id: I43383ad9e0ba4e0ba13837c0741885162cf40b63

 This is the 2nd commit message:

tspdrv: Make the timed state atomic

This should fix race conditions with fast bursts of short tones

Change-Id: I2c369da0a80dedebf7346613437d2b69d6a92c3c

 This is the 3rd commit message:

tspdrv: Add a sysfs control for timed vibrator strength

Change-Id: I66dec312e52a3c8834a93f6b8970c94a0d6af923
g2: Mark sdcc2 as non-removable

We're building this into the main kernel binary, no need to consider
the removal case
lge_touch: Generate KEY_POWER events for wakeup gestures
kcal_ctrl: Remove the lower limits from the RGB values

Allow the full range of kcal to be applied.
netfilter: xt_qtaguid: remove AID_* dependency for access control

qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
netfilter: xt_qtaguid: extend iface stat to report protocols

In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall <jpa@google.com>