msm: vidc: cache-flush encoder output buffers after alloc

Flush output buffers explcitly during registering. This ensures
any pending CPU writes (i.e meset to 0 after allocation) are
committed right away, or else this may get flushed _after_
hardware has written the bitstream.

Change-Id: I958466011e7d96c7b5e2691403c8386309997429
Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
Signed-off-by: c_sridur <sridur@codeaurora.org>
Merge "msm: vidc: cache-flush encoder output buffers after alloc"
Merge "Merge "msm: vidc: cache-flush encoder output buffers after alloc""
diag: dci: Check for request pkt length being lesser than minimum length

Added checks for DCI request packets to be greater than the minimum
packet length. We would drop the request and print an error otherwise.

CRs-Fixed: 483310
Change-Id: I0d89ded58ee97a08ebe6b06b411ac17d2fcb11df
Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>
target/rd: Refactor rd_build_device_space + rd_release_device_space

This patch refactors rd_build_device_space() + rd_release_device_space()
into rd_allocate_sgl_table() + rd_release_device_space() so that they
may be used seperatly for setup + release of protection information
scatterlists.

Also add explicit memset of pages within rd_allocate_sgl_table() based
upon passed 'init_payload' value.

v2 changes:
  - Drop unused sg_table from rd_release_device_space (Wei)

Change-Id: I0d42113c0e2d703fe7567a804003b034fd4fa0b7
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Git-commit:4442dc8a92b8f9ad8ee9e7f8438f4c04c03a22dc
Git-repo:https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
[ggober@codeaurora.org:resolve trivial merge conflicts in target_core_rd.c]
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Merge "target/rd: Refactor rd_build_device_space + rd_release_device_space"
Merge "Merge "target/rd: Refactor rd_build_device_space + rd_release_device_space""
Merge "diag: dci: Check for request pkt length being lesser than minimum length"
msm: board-8064: Restrict GPU frequency to Nominal and Turbo for v3 SOC

AvengerAU v3 Cx will be operated only in Nominal and Turbo power modes.
This change ensures that GPU will always run at Nominal and Turbo.
SVS mode will not be supported by GPU.

CRs-Fixed: 714088
Change-Id: I3c2ea7bae1634e028ebba948fdedb4fd35f10fb6
Signed-off-by: Gaurav Gagrani <ggagrani@codeaurora.org>
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
msm: acpuclock-8064: Update the voltage table for 1.5GHz devices

Update the freq table to match with the latest data.

Change-Id: I791248d006a4ab6eac41be3b870ab6314d826d93
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
Merge 882879a080e638d761055b0b7aa94ba1dc48f07d on remote branch

Change-Id: Ib759fefd36685579f23a960d9c871a114ae30c1a
msm: apq8064: Update to add MI2S CPU dai

Add the MI2S CPU dai for early audio chime support to play
audio before adsp image is loaded.

Change-Id: Ibee21fd2ef7a87b94721b48908b11627749256d7
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Merge "Merge 882879a080e638d761055b0b7aa94ba1dc48f07d on remote branch"
Merge "msm: acpuclock-8064: Update the voltage table for 1.5GHz devices"
adv7481: Add Driver code for adv7481

Adding adv7481 driver for mobis-platform.

Change-Id: Ib1178deb3a849f9f5247f17121f9ad22270ad1a3
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
msm: board-8064: edit board files to enable adv7481 device

Added GPIO PMIC setting in board-8064-pmic to enable adv7481
device.
Added platform data on mobis platform for adv7481 device.

Change-Id: I566c050ad3ebe2141cfe7323358b16f85c4c710f
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
msm: msm8960_adp_defconfig: edit defconfig to enable adv7481

Edited defconfig file to enable adv7481 driver compilation.

Change-Id: I9dbe12a080643fa6e6d7f8fb55780649f92ab602
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
ASoC: apq8064-auto: Consolidate two automotive machine drivers

Consolidate two automotive machine drivers and enable early chime
for m-platform.

Change-Id: I798d7a264b69f181bc9204a0b408e16510951177
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Merge "msm: apq8064: Update to add MI2S CPU dai"
Merge "ASoC: apq8064-auto: Consolidate two automotive machine drivers"