Commit Graph

1727 Commits

Author SHA1 Message Date
Jeevan Shriram bacee6ec2e msm: mdss: fix issue in calculating decimated dimensions
Width and height are not properly calculated when decimation
is involved. When there is scaling on a pipe, the required number
of pixels are wrongly programmed resulting in pipe hangs and
leading to TLB SYNC issues. This change handles proper
calculation of decimated width and height.

Change-Id: Iadc4b201b32dda3dba6afe23070f349677be417c
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2015-01-28 19:09:22 -08:00
Amit Shekhar d8331c493d ASoC: msm: qdsp6v2: Handles additional flac metadata
Currently, metadata such as min/max block size is sent only for first
stream in FLAC gapless playback. This causes incorrect configuration
and, subsequently, framedrops in decoding of second stream and onwards
By sending these additional flac metadata, dsp receives stream-wise
metadata and decodes without dropping

CRs-Fixed: 781837
Change-Id: I02e8d44cf481159982d7451f0a79f26dbeafa230
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
2015-01-28 17:54:08 -08:00
Linux Build Service Account a684d5d30d Merge "msm: ipa: add IPADMA" 2015-01-28 05:25:52 -08:00
Harout Hedeshian ec41dee437 net: ipv6: Add sysctl entry to disable MTU updates from RA
The kernel forcefully applies MTU values received in router
advertisements provided the new MTU is less than the current. This
behavior is undesirable when the user space is managing the MTU. Instead
a sysctl flag 'accept_ra_mtu' is introduced such that the user space
can control whether or not RA provided MTU updates should be applied.
The default behavior is unchanged; user space must explicitly set this flag
to 0 for RA MTUs to be ignored.

Change-Id: I9b2672d7c7804b6d5394516f451888d3ac8d7803
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-26 16:51:14 -07:00
Nadine Toledano 443b162378 msm: ipa: add IPADMA
Support IPADMA for MHI client to enable dma using IPA BAM.
Exposes APIs for MHI client which performs synchronous memcpy
and asynchronous memcpy.

Change-Id: Iecbab5d2520f2481d6e715e92e39052382f45e32
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
2015-01-25 13:15:10 +02:00
Ken Zhang e67a5af69e msm: mdss: hdmi: s3d mode support
Add sysfs node s3d_mode for stereo 3d support,
configure vendor info frame when 3d mode is set and
current video mode can support it. Output edid_3d_modes
in sysfs node in correct format.

Change-Id: I634da4ffbd4e7994113d805c3c8facef3c9a5a25
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
2015-01-22 13:07:28 -08:00
Dhaval Patel dee1173180 msm: mdp: add UBWC formats in MDP supported format list
Add UBWC formats in MDP supported format list. This
allows clients to query the format for all targets.

Change-Id: Ibb2cbd513ee7ed77e1fb2550516e74102a1006c5
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2015-01-16 17:52:52 -08:00
Linux Build Service Account ee1887e3a0 Merge "msm: ipa: introduce new QMI msg for xlat feature" 2015-01-16 03:04:59 -08:00
Linux Build Service Account c3862881fa Merge "msm: mdss: hdmi: give multiple resolution info using sysfs node" 2015-01-15 23:27:12 -08:00
Linux Build Service Account d1e9303b07 Merge "msm: mdss: hdmi: add new resolutions at runtime" 2015-01-15 23:26:50 -08:00
Skylar Chang 7ee7a5307e msm: ipa: introduce new QMI msg for xlat feature
To support xlat feature (i.e., modem uses private
ipv4 ip-address to simulate virtual ipv6 call), apps
needs to construct new QMI libary to communicate
with modem.

Change-Id: I00cddeee21cb7bbb9c0c2ee3264c2b6afb6a92d5
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2015-01-15 10:55:30 -08:00
Linux Build Service Account 07110be9b6 Merge "Revert "cfg80211: Changes to support key managment offload"" 2015-01-14 17:12:02 -08:00
Linux Build Service Account 3340dcb633 Merge "Revert "cfg80211: Key management offload support for SHA-256 and FT/8021.X"" 2015-01-14 17:12:00 -08:00
Linux Build Service Account e4aa3f3480 Merge "Revert "cfg80211: Key management offload support for 802.1X LEAP"" 2015-01-14 17:11:59 -08:00
Linux Build Service Account d5dc11fb95 Merge "Revert "cfg80211: Pass PTK as part of key management offload completion"" 2015-01-14 17:11:58 -08:00
Shivaraj Shetty 912c8b79db msm: mdss: provide interface to pass BLIT fps for mdp3
On 8909 for PPP bandwidth voting driver will either vote
for 60fps or will reduce it based on some assumptions.
Add interface to send the fps information from userspace
and use the same for bandwidth requirement calculations.

Change-Id: Ic42a512950691c38c48aad12f4f16e623f2f9af1
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
2015-01-14 17:44:06 +05:30
Chet Lanctot e9ccbb7012 Revert "cfg80211: Changes to support key managment offload"
This reverts commit 269e7d4aee.

Key management offload (LFR3) cannot be dependent on kernel changes
that have not yet been up-streamed.  Therefore, all kernel support
for key management offload needs to be reverted until the open source
version of kernel support for key management offload is available.

Conflicts:
	include/net/cfg80211.h

CRs-Fixed: 778119
Change-Id: I4ea487d312504be3cc180e814a7807a89344bef1
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2015-01-12 19:36:06 -08:00
Chet Lanctot 3324dacd1b Revert "cfg80211: Key management offload support for SHA-256 and FT/8021.X"
This reverts commit 3bb41fde01.

Key management offload (LFR3) cannot be dependent on kernel changes
that have not yet been up-streamed.  Therefore, all kernel support
for key management offload needs to be reverted until the open source
version of kernel support for key management offload is available.

CRs-Fixed: 778119
Change-Id: Idd3d5847636da558a12f27396d43ca6c4e12a519
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2015-01-12 19:19:33 -08:00
Chet Lanctot 8950c224fd Revert "cfg80211: Key management offload support for 802.1X LEAP"
This reverts commit 0aead796cc.

Key management offload (LFR3) cannot be dependent on kernel changes
that have not yet been up-streamed.  Therefore, all kernel support
for key management offload needs to be reverted until the open source
version of kernel support for key management offload is available.

CRs-Fixed: 778119
Change-Id: I8e2c27f84e0b8e3f52ecca9f71b269ec10d47990
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2015-01-12 19:14:41 -08:00
Chet Lanctot 3e7bc1c060 Revert "cfg80211: Pass PTK as part of key management offload completion"
This reverts commit c03321683c.

Key management offload (LFR3) cannot be dependent on kernel changes
that have not yet been up-streamed.  Therefore, all kernel support
for key management offload needs to be reverted until the open source
version of kernel support for key management offload is available.

Conflicts:
	include/net/cfg80211.h

CRs-Fixed: 778119
Change-Id: I5b3175c65d59a95e632200411b29fbd52cb87d94
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2015-01-12 19:05:21 -08:00
Ajay Singh Parmar 583992fd44 msm: mdss: hdmi: give multiple resolution info using sysfs node
Provide complete resolution details in a sysfs node "res_info"
limited to PAGE_SIZE. Different modules can query for multiple
resolution details based on the resolution ids received from
EDID of the TV.
In case resolution details exceed PAGE_SIZE, reuse res_info to
get remaining timing details by provide page details.

Change-Id: I3e8e8d4de29f78d22273b3fb8ff6a059a8cb19e1
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2015-01-09 16:05:21 -08:00
Skylar Chang dea9ba2c15 Revert "msm: ipa: change the QMI IP_TYPE_ENUM"
This reverts commit f53965f35a.
This change is done to align with modem QMI IDL.

Change-Id: Ib1efaa3a4822626c2e6206cf9b245ac09b2693ea
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2015-01-08 14:48:44 -08:00
Ajay Singh Parmar 3878b39360 msm: mdss: hdmi: add new resolutions at runtime
EDID (Extended Display Identification Data) may contain some
resolutions in DTDs (Detailed Timing Descriptors) which are not
in the supported resolutions list. In such cases, every time
when the HDMI cable is connected, parse all the resolution data
from DTD and populate the resolution list with the newly found
resolution. This way any resolution found in DTD can be supported
subjected to hardware limitations.

Change-Id: Ib2223e34820a70da0b03b8ac39b170cf6b3e65b5
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2015-01-06 00:06:43 -08:00
Viswanadha Raju Thotakura a4847e6782 msm: camera: add support for bidirectional vcm actuator
Add support in actuator driver to support bi vcm and
extend the functionality to suppport direction, pre
and post move register configuration. Extend the init
setting size macro to support this actuator.

Change-Id: I55a2aa49deec08066b2cd0f220da4ceb1bee1f01
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Signed-off-by: Xu Han <hanxu@codeaurora.org>
2015-01-02 12:57:18 -08:00
Harout Hedeshian 7df7b313f3 net: msm_rmnet: Add an extended ioctl definition to pass xlat device info
Add an ioctl for passing rmnet_data device name to the physical device
driver for xlat capable calls. This information is used by the driver
to optimize traffic on the rmnet_data device.

CRs-Fixed: 762178
Change-Id: Ib19730d239882f0900ca2dbd91e5252fefd63053
Acked-by: Sudharsan Coimbatore Premkumar <supremku@qti.qualcomm.com>
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
2014-12-19 14:26:26 -07:00
Linux Build Service Account e4d39e9edb Merge "qseecom: Update GP QTEEC related APIs" 2014-12-18 20:49:32 -08:00
Ajay Singh Parmar 62df9e9943 msm: mdss: hdmi: optimize resolution data base
HDMI has a large number of resolutions supported and currently
for all supported resolutions, related modules maintain static
tables which are populated at boot time. This results in huge
static memory usage. Also, it limits the system to support only
the define resolutions.

Remove static table which stores all the resolution details.
Get individual resolution details on need basis. Also, remove
the dependency to support only the defined resolution. HDMI driver
can support any non standard resolution within the allowed range.

Change-Id: I0972bc3a0ab96051ea642d685d10c4e5535b7051
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2014-12-15 15:50:06 -08:00
Linux Build Service Account e0d7b24df4 Merge "msm: cpp: Update reserved field to handle cds" 2014-12-11 19:49:30 -08:00
Krishnankutty Kolathappilly 9db2de2fee msm: cpp: Update reserved field to handle cds
The reserved field needs to be properly copied over.
This will ensure the V4L2 buffer will send the information
to the client properly.

Change-Id: I46a8814449f03f2664103ba8d2843f636a4cb42c
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2014-12-09 19:25:09 -08:00
Mona Hossain 17c3151ed1 qseecom: Update GP QTEEC related APIs
Updated GP related code:
-Decouple GP related functionality from QSEE
-Add support for processing command in open session call
-Fix Invoke Command API to support contiguous memory only
-Add support for request cancellation command

Change-Id: I827e8fcdb09493266a21d3c4ae9456c2aa8457b3
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
2014-12-08 09:15:00 -08:00
Dinesh K Garg df3e6052b6 qseecom: Adding support of ICE in Key Management System
Storage hardware can have embedded inline crypto engine(ICE). Current
key management system supports key storage mechanism for GPCE. ICE HW
requires a little differnt key management. Modifying exisiting KMS to
support ICE HW.

Change-Id: Ibcdbbffad71927c91ceb5d24939e0a80630ce466
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2014-12-07 23:26:54 -08:00
Alexy Joseph e6f5c00aa6 ASoC: msm: Add support to enable DTS HPX and SA+ exclusively
Add support to enable DTS HPX and SA+ modules exclusively when
both the modules are part of a single ASM topology in NT mode.

Change-Id: I2a90e9e1cd6e2f4d915d0c55a5a67a7abc19f503
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-05 12:53:34 -08:00
Subhash Chandra Bose Naripeddy 5e200262f8 misc: qcom: qdsp6v2: Support hardware accelerated audio effects
Audio post processing features such as HeadphoneX are supported
only in DSP. To apply post processing for the playback which is
not routed through DSP, effects are applied through hardware
accelerated mode where PCM samples are sent to DSP for effects
processing in write path and captured by userspace through read
path.

Change-Id: I50272b04586770136bc48ba231eef1eac81387c5
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-05 12:23:30 -08:00
Jitendra Naruka 2b822911df ASoC: msm: Integrate Eagle framework to support HeadphoneX 1.1
Add support to integrate the Eagle framework for DTS Headphone:X
audio post processing feature v1.1. Include DTS_EAGLE config for
8994 target to build the feature. It uses hwdep node to receive
required processing parameters from userspace.

Change-Id: I07cea22aa0324b0042353174a7c96e2b98a37b4b
Signed-off-by: Jitendra Naruka <jitendra.naruka@dts.com>
[alexyj@codeaurora.org: fix inclusion of header file
 msm-dts-eagle.h in msm-dts-srs-tm-config.c, resolving
 trivial merge conflicts]
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-11-30 01:03:59 -08:00
Srikanth Uyyala 99e27cef01 ASoC: msm: Fix DTS TRUMEDIA cal type initialization
Integration of DTS trumedia causes ADM cal types to not
initialize properly. Correct initialization of
cal types add in ADM.

Change-Id: I096d9bd456cd95e243fb616fa6d037dd2eeccde1
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2014-11-28 20:36:22 -08:00
Ashish Jain 9dfd8ae8f0 ASoC: msm: qdsp6v2: Update support for dolby license validation
Add support for dolby license validation for DS2 using ioctl approach.
Also enable new DS2 driver for MSM8916 platform.

CRs-Fixed: 761339
Change-Id: I0bdf50de59690433a0b14641762000bd91614e2d
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2014-11-26 18:26:54 -08:00
Linux Build Service Account 080f8b8efc Merge "ASoC: msm: metaInfo support in acdb kernel driver" 2014-11-26 03:21:17 -08:00
Linux Build Service Account 238f337518 Merge "net: rmnet_data: add support for UL MAP based checksum offload" 2014-11-26 03:21:07 -08:00
Srikanth Uyyala 9be118bc81 ASoC: msm: metaInfo support in acdb kernel driver
add support for new cal type AUDIO_CORE_METAINFO_CAL_TYPE
in acdb kernel driver and in corresponding utils driver.

CRs-Fixed: 761339
Change-Id: I3b3a96f2af5057d0b8787dc5a25811166f57631a
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2014-11-24 11:25:50 -08:00
Sivan Reinstein 6b9a08570c net: rmnet_data: add support for UL MAP based checksum offload
Add UL checksum offload routines for MAPv3. Can bypass checksum software
for IPv4/IPv6 TCP/UDP protocols.
Set rmnet_data VNDs hw_flags to NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM to
define the checksum offload abilities.
Add UL checksum meta-info header for IPv4/IPv6 TCP/UDP packets for which
UL checksum is being offloaded.

CRs-fixed: 731693
Change-Id: Ief139d357b528aead66acfe39a5227328b8fbf93
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2014-11-24 10:07:31 +02:00
Linux Build Service Account 06302c2657 Merge "radio: iris: Add support to configure signal blending parameters" 2014-11-23 23:50:00 -08:00
Pablo Neira 7c059c04ff netfilter: xt_bpf: add mising opaque struct sk_filter definition
commit e10038a8ec06ac819b7552bb67aaa6d2d6f850c1 upstream.

This structure is not exposed to userspace, so fix this by defining
struct sk_filter; so we skip the casting in kernelspace. This is safe
since userspace has no way to lurk with that internal pointer.

Fixes: e6f30c7 ("netfilter: x_tables: add xt_bpf match")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-21 09:22:54 -08:00
Venkateshwarlu Domakonda 961264648a radio: iris: Add support to configure signal blending parameters
Configure the signal blending parameters BlendSinrHi & BlendRmssiHi.

CRs-Fixed: 753525
Signed-off-by: Venkateshwarlu Domakonda <vdomak@codeaurora.org>
Change-Id: Icd38b3f8ada232252660773dfb4f0d69ffad3634
2014-11-20 21:45:44 -08:00
Skylar Chang 441688f399 msm: ipa: introduce new QMI msg for ethernet bridge
For supporting ethernet bridge on LE targets to send QMI
msg to modem, we need to add following QMI header/message
in A7 which gives hdr_proc_ctx_tbl_info to ipa-Q6

Change-Id: Ifde8dd608ffc533c6e1b064ccd6ba35cdddee304
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2014-11-20 12:15:43 -08:00
Linux Build Service Account 6688a597be Merge "msm: ipa: fix the number of q6 UL filter rules" 2014-11-20 00:32:56 -08:00
Skylar Chang f53965f35a msm: ipa: change the QMI IP_TYPE_ENUM
For consistent to IPA_IP_TYPE, we redefine the
QMI_IPA_IP_TYPE to be the same as IPA_IP_TYPE.
Since modem already did this change, apps should
do also, or modem will crash because receiving
unexpected ip_type from Apps.

Change-Id: I93c0f41fcdf69d3be639e7edfa97b57e382ee749
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2014-11-19 10:44:28 -08:00
Skylar Chang b43f149693 msm: ipa: fix the number of q6 UL filter rules
For recent Q6-ipa changes, the static UL filter
rules are exceeding to the cache of ipa-Apps has
, the solution is to entend the cache up to 35
and also do the check in case memory-corruption
happening.

Change-Id: I486169c573daef1f7821b959696bf5870bcf62b1
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2014-11-15 13:07:48 -08:00
Linux Build Service Account 0488452e9c Merge "msm: ipa: introduce new QMI msg for IPA MHI" 2014-11-14 01:16:03 -08:00
Linux Build Service Account b2b4d51975 Merge "msm: mdss: hdmi: remove hard-coded resolution id names" 2014-11-14 01:15:02 -08:00
Skylar Chang 98bfc1bb0a msm: ipa: introduce new QMI msg for IPA MHI
For supporting MHI (new driver) on LE targets to send QMI
msg to modem, we need to add following QMI header/message
in A7 which already existed/supported by modem. Then Apps
can communicate with modem with those configurations.

Change-Id: I6320bab02e68ff0cd0d6e3952cca78f4ee2a4b34
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2014-11-12 13:29:11 -08:00
Linux Build Service Account 3e78424c8a Merge "net: core: Support UID-based routing." 2014-11-10 16:32:24 -08:00
Linux Build Service Account a5a01c1939 Merge "msm: thermal: Add IOCTL command in KTM to query cluster voltage plan" 2014-11-10 10:24:12 -08:00
Linux Build Service Account fc6d95c5ea Merge "mdss: Add MDP_SMP_FORCE_ALLOC mdp flag" 2014-11-09 23:40:52 -08:00
Ajay Singh Parmar 9e827a9132 msm: mdss: hdmi: remove hard-coded resolution id names
Generate the HDMI resolution id names based on resolution timing
details. This makes the code generic for all resolutions.

Change-Id: I097f450f5a85c85c1e81b7c7b1351d9c7228ba01
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2014-11-05 23:57:26 -08:00
Shiju Mathew b6adb4d186 msm: thermal: Add IOCTL command in KTM to query cluster voltage plan
Add IOCTL command in KTM to query cluster voltage
plan for corresponding cluster frequencies supported
on a target. The voltage is read from OPP interface.
The IOCTL exposes voltage in milliVolt.

Change-Id: I9a444e8f90982870aed5d353c992130601e49e7b
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
2014-11-05 13:52:14 -05:00
Lorenzo Colitti a2a8c36364 net: core: Support UID-based routing.
This contains the following commits:

1. 0149763 net: core: Add a UID range to fib rules.
2. 1650474 net: core: Use the socket UID in routing lookups.
3. 0b16771 net: ipv4: Add the UID to the route cache.
4. ee058f1 net: core: Add a RTA_UID attribute to routes.
    This is so that userspace can do per-UID route lookups.

Bug: 15413527
Change-Id: I1285474c6734614d3bda6f61d88dfe89a4af7892
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Git-commit: 0b428749ce5969bc06c73855e360141b4e7126e8
Git-repo: https://android.googlesource.com/kernel/common.git
[imaund@codeaurora.org: Resolved conflicts related to removal
  of oif and mark, as well as refactoring of files.]
Signed-off-by: Ian Maund <imaund@codeaurora.org>
2014-11-04 13:06:30 -08:00
Linux Build Service Account c303fcd72a Merge "msm: mdss: hdmi: fix supported parameter in resolution details" 2014-10-29 13:08:41 -07:00
Linux Build Service Account c3e072e1ac Merge "wil6210: atomic I/O for the card memory" 2014-10-28 11:50:54 -07:00
Linux Build Service Account c6a6334802 Merge "msm: vidc: Add support for Hybrid hier-p mode" 2014-10-24 19:22:41 -07:00
Linux Build Service Account 71889b258a Merge "ASoC: msm: qdsp6v2: Add support for HDMI passthrough" 2014-10-24 19:22:38 -07:00
Ajay Singh Parmar e0774e4f38 msm: mdss: hdmi: fix supported parameter in resolution details
Few resolutions are not properly updated with the supported information.
Fix this by adding supported information in the resolution details.

Change-Id: I10ca776cf014f9ce064a2b45d43725f69e9ea6d2
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2014-10-24 12:36:27 -07:00
Vladimir Kondratiev 51370aa782 wil6210: atomic I/O for the card memory
Introduce netdev IOCTLs, to be used by the debug tools.

Allows to read/write single dword value or
memory block, aligned to dword
Different address modes supported:
- BAR offset
- Firmware "linker" address
- target's AHB bus

Change-Id: I65c97ad4a4f169c56d4d4a4f846cc176c3771f8f
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Git-commit: dba4b74d2da8798626e2b702ad3f452671e335f7
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2014-10-23 06:56:50 -07:00
Ashray Kulkarni 3754f2f4c5 msm: vidc: Add support for Hybrid hier-p mode
This enables hybrid hier-p mode encoding. This allows configuring
the number of layers in hybrid hier-p. This property enables Hier-p
encoding with fixed LTR referencing in each sub-GOP.

Change-Id: I6e27578136b83472d849a94072e497c0e832aa86
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
2014-10-22 16:19:39 -07:00
Justin Philip 41631eb73e mdss: Add MDP_SMP_FORCE_ALLOC mdp flag
MDP_SMP_FORCE_ALLOC flag is used to allow SMP
allocations even when there is mismatch between
allocated and requested SMPs for a pipe.
User space can make use of this flag in extreme scenarios
where SMP allocations need to pass like GPU composition
and playback of protected  or secure videos.

Change-Id: I369b4361e7e2bbfc8150add467678c4ef8d5cfb6
Signed-off-by: Justin Philip <jphili@codeaurora.org>
2014-10-22 10:52:10 +05:30
Krishnankutty Kolathappilly 8cc69987dc ASoC: msm: qdsp6v2: Add support for HDMI passthrough
Add support for compressed bitstream passthrough over HDMI
for DD/DDP contents. Use compressed driver to support
passthrough.

Change-Id: I01f9e4fa984a1f45d1f4de5250bed8f95d2a2dd0
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-10-20 12:15:38 -07:00
Krishna Konda 560700be8c UAPI: scsi: move ioctl related information
The ioctl information should be in header files that expose it
to userspace.

Change-Id: Iabf1e53a1357c2ce22ecdc8dc0270377759effc8
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
2014-10-14 19:05:39 -07:00
Krishna Konda ff9ee91c65 UAPI: scsi: move the scsi ioctl related files
The scsi ioctl related files are meant to be used from
userspace and hence should be in the appropriate include/uapi
directory.

Change-Id: Id6b14f353284a9ddac0d58b6b90e17561e2645aa
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
2014-10-14 19:04:31 -07:00
Linux Build Service Account 4344d1e3e1 Merge "msm: mdss: Add color_space member for MDP Overlay and Blit" 2014-10-12 11:50:40 -07:00
Linux Build Service Account 3ad19d33c8 Merge "uapi: hbtp_input: exposes first and last ABS_MT parameter" 2014-10-12 11:50:32 -07:00
Linux Build Service Account ad5b0dae4d Merge "msm: ipa: introduce new QMI msg for IPA config" 2014-10-12 08:39:37 -07:00
Linux Build Service Account 6cb15a5fba Merge "Revert "nl80211: Support ACS offload feature"" 2014-10-12 05:41:29 -07:00
Linux Build Service Account b1b2151f24 Merge "ASoC: wcd9xxx: use hwdep node for codec calibration" 2014-10-12 05:41:19 -07:00
Linux Build Service Account e47c71b2d2 Merge "msm: vidc: Add support for scaling secure video into non-secure" 2014-10-12 00:51:35 -07:00
Linux Build Service Account 2916f75408 Merge "msm: ipa: increase IPA_RESOURCE_NAME_MAX" 2014-10-11 11:12:02 -07:00
Jordan Crouse 33fde3a4ef msm: kgsl: Add the always on timer as an honorary perfcounter
The always on timer isn't a perfcounter but it might play one on TV.
Add it to the perfcounter lists so that it can be treated as one by
the user mode driver.

CRs-Fixed: 729520
Change-Id: Ic0dedbad728f1695bc23a12699e58d90e42f77fa
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2014-10-10 15:08:10 -06:00
Anish Kumar 6dc48d191b ASoC: wcd9xxx: use hwdep node for codec calibration
currently codec driver uses request_firmware to get
calibration data but as this firmware file is also written by
userspace process after bootup, it is not recommended to
use request_firmware. ALSA core provides mechanism to get
hardware dependant data using hwdep nodes. Tomtom codec will
use aforementioned nodes to get calibration data from userspace.

Change-Id: Iace6e239029c7b0d93a5d61a0025ee551acf952f
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-10-09 23:02:51 -07:00
Peng Xu 8f7755ef72 Revert "nl80211: Support ACS offload feature"
This reverts commit dbd6bffa06.
Revert this change since the same change needs to be upstreamed
first.

Change-Id: Ia708a67a4e26bc751749b86d7a5f39cbed80bee3
Signed-off-by: Peng Xu <pxu@codeaurora.org>
2014-10-08 11:44:39 -07:00
Ravit Katzav e5261e78c4 msm: ipa: increase IPA_RESOURCE_NAME_MAX
Increase max length supported for IPA resources such as
filtering tables, routing tables and headers.

Change-Id: I28e9ad09edd2f00184986591d0d78c30d91b0090
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Ravit Katzav <rkatzav@codeaurora.org>
2014-10-07 21:51:29 -07:00
Ajay Singh Parmar 5161473e61 msm: mdss: hdmi: correct 480p pixel clock
Use correct pixel clock for 480p (VIC #3) which is 27.027MHz.

Change-Id: I7a5ca0fe84ea49070fbb4bf3a983b3ef2edd417a
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2014-10-07 19:37:14 -07:00
Shalaj Jain 72d4138bd0 msm: vidc: Add support for scaling secure video into non-secure
Under certain conditions, it is acceptable for the decoder to cross
domains and produce non-secure YUVs from a secure bitstream.
This commit adds an interface that allows the client to query the
firmware to read these conditions (i.e. the threshold expressed as
width * height) programmed by TZ under which this operation is allowed.

Change-Id: I5890584ff0c1ac88dc1c4e7c1712b289d3c8f4b3
Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2014-10-07 13:32:30 -07:00
Chandan Uddaraju a2933110c8 msm: mdss: add MDSS version macro for msm8994v2
This change adds version macro for msm8994v2 and
uses this version where ever necessary in the driver.

Change-Id: I20603d98c154c4e414adab6740233507c7b09c7b
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2014-10-03 16:50:13 -07:00
Sushil Chauhan 9978d0ee1c msm: mdss: Add color_space member for MDP Overlay and Blit
MDP needs color space value to configure CSC matrix correctly. So
add color_space member in mdp_overlay and mdp_blit_req structures.
And define an enum for Color Space values.

Change-Id: I48230867e509c324462a1a596483dbbfb2bfe36b
Signed-off-by: Sushil Chauhan <sushilchauhan@codeaurora.org>
2014-10-03 10:22:56 -07:00
Linux Build Service Account 8a8fb3f134 Merge "msm: ipa: Add new IOCTL to modify routing rule given its handle" 2014-10-02 21:37:15 -07:00
Skylar Chang df3bda35ef msm: ipa: introduce new QMI msg for IPA config
One of the common issues that we face when debugging CAT-6
throughput issues for tethered calls is because the USB is
not connected in super speed mode (USB 3.0). So, we would
like to capture this info in the MDM crashdumps because
it will ease our analysis of the issue. Apps will send
this QMI message to modem for 9x35 LE & 8994 to inform
the modem about the USB core speed.

Change-Id: Ia3cf29fae6ab13ad49384219d7bdd9fbc03c6219
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2014-10-02 17:45:48 -07:00
Ravi Gummadidala dfa352e235 msm: ipa: Add new IOCTL to modify routing rule given its handle
During MCC/SCC switch, need to modify routing rules to send traffic
to a different pipe

Change-Id: Iaa91d202aaf02437a01980017f75c584ff112a74
Acked-by: Sunil Kumar Paidimarri <hisunil@qti.qualcomm.com>
Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
2014-10-01 17:07:54 -07:00
Linux Build Service Account bdb6663daa Merge "msm: mdss: hdmi: add new DMT resolution timing details" 2014-10-01 08:28:14 -07:00
Linux Build Service Account e4b6902a42 Merge "cfg80211: Pass PTK as part of key management offload completion" 2014-09-30 14:43:00 -07:00
Ajay Singh Parmar aebb3f815d msm: mdss: hdmi: add new DMT resolution timing details
Add complete timing details of new resolutions which can be
found in Established Timing I, II and III and DTD (Detailed
Timing Descrpitors).

Following new resolutions are added:

16:10
1920x1200_60Hz
1680x1050_60Hz
1440x900_60Hz
1280x800_60Hz

16:9
1366x768_60Hz
1360x768_60Hz
848x480_60Hz

4:3
1600x1200_60Hz
1400x1050_60Hz
1280x960_60Hz
800x600_60Hz

Change-Id: I998039d7e3eca9c53917fb7f17d0b6b0be48bafd
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2014-09-28 22:29:31 -07:00
Linux Build Service Account d460648230 Merge "hwmon: epm_adc: Remove redundant support" 2014-09-28 18:36:54 -07:00
Siddartha Mohanadoss 1519f843e3 hwmon: epm_adc: Remove redundant support
Remove support for ADS ADC that is not used since
the EPM uses the PSoC for getting power measurements.
Update the generic command to use 64 bytes intead of
65 bytes. The generic command is used by the userspace
client to send commands to communicate with the PSoC
and returns the collected buffered samples for requested
power measurements.

Change-Id: I0f2eddd7421888adfeb1c7152e82c96128b7f299
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2014-09-25 09:37:13 -07:00
Linux Build Service Account f98571b553 Merge "ASoC: msm: qdsp6v2: add speaker protection module id" 2014-09-23 22:56:31 -07:00
Linux Build Service Account a2502b7d25 Merge "msm: ipa: add support for Ethernet Bridging" 2014-09-23 13:36:42 -07:00
Chet Lanctot c03321683c cfg80211: Pass PTK as part of key management offload completion
When the device indicates completion of key management offload to
the supplicant by signaling a key management authorization event,
it must pass the derived PTK KCK and PTK KEK.  The supplicant
needs this information in case it must handle a later operation
that requires knowledge of the PTK, such as a GTK rekeying.

A new routine to signal key management offload completion is
defined, cfg80211_key_mgmt_auth.  This routine takes a
parameter which is a structure containing the authorization
information.  Eventually the old routine cfg80211_authorization_event
can be removed when it is no longer referenced by any device driver.

Change-Id: I2bc426178f36615e31c110cdbcd539016bc41975
CRs-Fixed: 728422
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2014-09-22 20:02:36 -07:00
Ravit Katzav 3c9b922d0a msm: ipa: add support for Ethernet Bridging
Add support for new IPA feature for enabling Ethernet bridging.
This includes changes in filtering or routing attributes
and header insertion.

Filtering changes includes adding filtering or routing rules
with attributes from Ethernet header such as source and
destination mac addresses.

Header insertion changes includes adding new API
for adding Processing Contexts to IPA
to allow Ethernet header insertion and processing.

Change-Id: I7fcc8146c06fc306548e67554a3c3c6c8d7cad1e
Acked-by: Yaniv Lefel <ylefel@qti.qualcomm.com>
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Ravit Katzav <rkatzav@codeaurora.org>
2014-09-21 10:17:29 +03:00
Linux Build Service Account d4b902d758 Merge "input: add new input event code to pass timestamp to userspace" 2014-09-20 07:33:59 -07:00
Linux Build Service Account 17c15d5bfc Merge "radio: iris: Change rssi data type to char" 2014-09-20 03:31:41 -07:00
Jing Lin d8e227d7f1 uapi: hbtp_input: exposes first and last ABS_MT parameter
When user space sets multi-touch parameters on hbtp_input driver
through ioctl, it needs to know the total number of ABS_MT parameters
that are supported by kernel. Add two macros for the first and the
last ABS_MT parameter to expose to user space.

Change-Id: I68ad9dad77facf1d1efcfc9a3d69235b1094d369
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2014-09-19 11:57:48 -07:00
Oliver Wang 60afe4273e input: add new input event code to pass timestamp to userspace
There's timestamp jitter between the input events and input_sync.
Add two more event code to pass the timestamp to userspace. This
is needed since some input devices such as sensors need to retrieve
the accurate timestamp of the events generated.

Change-Id: I8d83739dfa4a70ca3877363c920bd5e3301f5494
Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>
2014-09-16 14:14:16 +08:00
Anish Kumar d8f65739dd ASoC: msm: qdsp6v2: add speaker protection module id
stereo speaker protection libraray in ADSP needs
new param and module id's. Provide the same along
with passing new set of calibration data for each
speaker connected to the codec.

Change-Id: I3bb1e9788ea8b6ce8e4debfe882f7bbaed58493d
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-09-15 19:00:46 -07:00
Peng Xu dbd6bffa06 nl80211: Support ACS offload feature
Added support for offloading ACS functionality to host driver.
A new feature flag NL80211_FEATURE_AP_ACS_OFFLOAD is added to support
ACS (Automatic Channel Selection) offload to driver. This allows driver
to advertise its ACS capability.
When hostapd starts, if channel is set to 0 hostapd will check if driver
has the capability of doing ACS. If driver has such capability then the
channel selection is done in driver. Meanwhile kernel skips validation
of channel information since it is null when initially passed by hostapd.
After channel is selected by driver, a channel change event is sent from
driver to kernel. Kernel updates channel information it maintains using
the new channel.

CRs-fixed: 714883
Change-Id: I324e87e674aefcc6737ff571a543f4988419bef3
Signed-off-by: Peng Xu <pxu@codeaurora.org>
2014-09-12 10:59:55 -07:00
Peng Xu bc1da2f4db Revert "nl80211: Support ACS offload feature flag and attribute"
This reverts commit d3e84ab835.
Reverting these nl80211 attributes definitions that have not been
approved into upstream Linux kernel.

Change-Id: Id51fc42bb38332f19c3ec33379833088d95e9f4a
Signed-off-by: Peng Xu <pxu@codeaurora.org>
2014-09-12 10:55:23 -07:00
Satish Kodishala ae5701f5e1 radio: iris: Change rssi data type to char
rssi values read from Riva/Pronto are negative.
Change data type to char.

CRs-fixed: 707488
Change-Id: I60e2078583700bf607f90029d8af3947c03380a3
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
2014-09-10 15:08:52 +05:30
Linux Build Service Account cb187eb8a5 Merge "msm: mdss: Override partial update PP block using ioctl" 2014-09-09 00:55:39 -07:00
Linux Build Service Account fd5380c27b Merge "input: misc: add input driver for HBTP" 2014-09-07 04:00:25 -07:00
Linux Build Service Account 5ac18f9871 Merge "msm: vidc: Add support for Hier B frames" 2014-09-07 03:59:11 -07:00
Linux Build Service Account 4aaea26292 Merge "uapi: lsm_params: Add API to explicitly set LSM params" 2014-09-06 10:37:19 -07:00
Krishna Chaitanya Parimi 679dc362a9 msm: mdss: Override partial update PP block using ioctl
Partial update when enabled blocks all PP ioctls. There is
currently no subtle way to enable PP. Providing an ioctl
to override the blockage of PP ioctls. This would allow
PP to override the blockage caused due to the default
enablement of partial update.

Change-Id: Ia120caa179bfa0414041bacd80328540f24dd6c8
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
2014-09-06 07:02:41 +05:30
Linux Build Service Account c379e29a5a Merge "nl80211: Support ACS offload feature flag and attribute" 2014-09-04 07:05:50 -07:00
Linux Build Service Account 3a410e96f9 Merge "mdss: mdp: Add mdss version macro for 8992 target" 2014-09-04 02:35:42 -07:00
Jing Lin 3177345164 input: misc: add input driver for HBTP
This driver provides service to Host Based Touch Processing
in three aspects:
- It serves as an input device driver to send touch/key events from
  user space to the kernel input core.
- It monitors LCD on/off and sends uevent accordingly.
- It performs power management for the touch AFE (Analog Front End).

Change-Id: I1308dae8e44a824d84e3b13536a1b621f9df5bca
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2014-09-03 17:48:42 -07:00
Bhalchandra Gajare c4bb50dfc4 uapi: lsm_params: Add API to explicitly set LSM params
It is possible that application may try to set the Listen parameters
separately from setting the sound model. Add support to expose interface
to userspace to allow separation of sound model registration and listen
parameter setting.

Change-Id: If35fb2d006e29a8e389432f267cb1d7872b37a5b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2014-09-03 00:57:44 -07:00
Sowmya Pandiri 1daedb8a14 msm: vidc: Add support for Hier B frames
Hier B frame support added for HEVC encoder.

Change-Id: Ifbf3998f76b756c12b8f61a93e781cad459906b9
Signed-off-by: Sowmya Pandiri <spandiri@codeaurora.org>
2014-09-02 16:31:09 -07:00
Peng Xu d3e84ab835 nl80211: Support ACS offload feature flag and attribute
Added support for offloading ACS functionality to host driver.
A new feature flag NL80211_FEATURE_AP_ACS_OFFLOAD and a new attribute
NL80211_ATTR_ACS_OFFLOAD are added to support ACS (Automatic Channel
Selection) offload to driver. This allows driver to advertise its ACS
capability.
When hostapd starts, if channel is set to 0 hostapd will check if driver
has the capability of doing ACS. If driver has such capability
then hostapd set the attribut NL80211_ATTR_ACS_OFFLOAD to indicate to
kernel that channel selection is done in driver. Meanwhile kernel skips
validation of channel information since it is null when initially passed
by hostapd.
After channel is selected by driver, a channel change event is sent from
driver to kernel. Kernel updates channel information it maintains using
the new channel.

CRs-fixed: 714883
Change-Id: I195b0978031d7fad4f93688a0f919fd9a4d54193
Signed-off-by: Peng Xu <pxu@codeaurora.org>
2014-09-02 10:54:09 -07:00
Linux Build Service Account 5fb81d3249 Merge "ASoC: msm: qdsp6v2: Support adm open at multiple sample rate" 2014-08-31 08:25:04 -07:00
Linux Build Service Account 84743418ef Merge "ASoC: msm: qdsp6v2: Enable device dependent nodes" 2014-08-31 08:25:03 -07:00
Linux Build Service Account bbc60a21e2 Merge "ASoC: msm: qdsp6v2: Add device dependent nodes" 2014-08-31 08:25:01 -07:00
Linux Build Service Account ab0e3a7503 Merge "ASoC: msm: qdsp6v2: Add support for DS2 Dolby Audio Processing" 2014-08-31 08:24:59 -07:00
Linux Build Service Account df7dfaf4e4 Merge "net: rmnet_data: Add documentation for configuration structures" 2014-08-30 22:36:41 -07:00
Linux Build Service Account 22a722f448 Merge "msm: ipa: add client for USB DPL" 2014-08-30 22:36:22 -07:00
Linux Build Service Account 093eb5d50c Merge "msm: ipa: odu: add ODU Bridge driver" 2014-08-30 22:36:21 -07:00
Linux Build Service Account 27758a42ed Merge "msm: ipa: add IOCTL for eMBMS" 2014-08-30 22:36:21 -07:00
Linux Build Service Account 22b9f593ff Merge "cfg80211: clarify BSS probe response vs. beacon data" 2014-08-30 19:37:15 -07:00
Linux Build Service Account 6666db5089 Merge "nl80211: add scan width to bss and scan request structs" 2014-08-30 19:37:14 -07:00
Jeykumar Sankaran fd51159dbd mdss: mdp: Add mdss version macro for 8992 target
Add mdss version macro for 8992 target and initialize maximum
blending stages supported for the target.

Change-Id: Ic741fb725907498791c1d17581561e3632a40cec
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2014-08-29 14:06:09 -07:00
Linux Build Service Account 13bd1fdb90 Merge "msm: vidc: add low power encoding" 2014-08-28 20:09:18 -07:00
Linux Build Service Account 8e64679a49 Merge "msm: vidc: enable hier-p for H264 encoding" 2014-08-28 20:09:17 -07:00
Amit Shekhar 5eda6fe5c5 ASoC: msm: qdsp6v2: Support adm open at multiple sample rate
Currently, "Audio Stream NN App type Cfg" mixer control receives
acdb id and app type only. Using these info, adm opens at only one
fixed sample rate. By receiving sample rate in mixer control
command, adm topology selection and adm open is done at appropriate
sample rate along with other parameters. Audio calibration is also
sent and queried for the given sample rate.

Change-Id: I51784270c58c881a75e584eb454c8a3317144ace
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
2014-08-28 16:36:23 -07:00
Linux Build Service Account 76ca494c71 Merge "msm: mdss: Support ARGB1555 and ARGB4444" 2014-08-28 07:50:45 -07:00
Ravit Katzav 8e217959b3 msm: ipa: add client for USB DPL
Add a new client to IPA for Data Path Logging.
USB driver will connect this IPA client consumer pipe
for accelerated DPL.

Change-Id: I6d51929c61f75c9578be4995a09664a871ab915a
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Ravit Katzav <rkatzav@codeaurora.org>
2014-08-27 10:02:34 -07:00
Ravit Katzav 8cfdde730a msm: ipa: odu: add ODU Bridge driver
This change adds support for ODU (Out Door Unit) feature.
ODU feature allows to connect the device to
a Home Gateway using Ethernet-To-PCIe adapter.

This change includes IPA driver changes for supporting
accelerated data path on ODU.

Change-Id: I2607038fb9fdec5cbeeb54896a203ae6a0de8d98
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Ravit Katzav <rkatzav@codeaurora.org>
2014-08-27 10:02:29 -07:00
Ravit Katzav 55abeb259e msm: ipa: add IOCTL for eMBMS
Add IOCTL to IPA driver to be called by Net Manager
uppon WAN eMBMS interface connect.
IPA driver will notify IPA Connection Manager for
eMBMS call for adding appropriate rules to IPA.

Change-Id: I4a933df32daf3871e6cb8c564057c0f0c1c39d75
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Ravit Katzav <rkatzav@codeaurora.org>
2014-08-27 10:02:20 -07:00
Harout Hedeshian b7a97bc998 net: rmnet_data: Add documentation for configuration structures
Better document the configuration structures and the element usage.
Anticipating more elements being added in the near term.

Change-Id: I5ca90b7a776072d6b1ac4838782cada38f4fea3b
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
2014-08-26 14:24:55 -06:00
Linux Build Service Account b8bbdb1a75 Merge "msm: ipa: add new client type for ipa standalone tests" 2014-08-25 22:34:16 -07:00
Linux Build Service Account b053c4cba8 Merge "Revert "ASoC: msm: qdsp6v2: Support adm open at multiple sample rate"" 2014-08-25 22:34:15 -07:00
Linux Build Service Account 88b6145b5e Merge "msm: msm_bus: Move busPM module to msm_bus folder" 2014-08-25 22:34:02 -07:00
Krishnankutty Kolathappilly e947794371 ASoC: msm: qdsp6v2: Enable device dependent nodes
Add changes to enable device dependent nodes on apq8084 and
msm8994.

Change-Id: I05c7f583cae2539c487f920848d9f726f38ec37a
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:24:03 -07:00
Krishnankutty Kolathappilly cbe241d9f8 ASoC: msm: qdsp6v2: Add device dependent nodes
Mixer controls to communicate data from userspace to kernel for
audio post processing features where tuning parameters range from
1 through 200kb depending on the end device is not efficient.
Device dependent nodes are added to exchange the huge data blocks
through IOCTL.

Change-Id: Ie6f598249c76929d52e00378e1446115999ebc62
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:21:27 -07:00
Krishnankutty Kolathappilly 6f57b178d8 ASoC: msm: qdsp6v2: Add support for DS2 Dolby Audio Processing
Add support for Dolby DS2 driver for Dolby audio processing.Dolby
ds2 driver uses ioctl interface to transfer parameters to and from
userspace. The parameters are send on active DAP instance on DSP.
The driver supports set parameter, get parameter and get visualizer
interface.

Change-Id: Ica88bde6c5484eb147a48c561eea821e026c03bc
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:19:49 -07:00
Amit Shekhar dc31e5a219 Revert "ASoC: msm: qdsp6v2: Support adm open at multiple sample rate"
This reverts commit c7aefc8af9
Reverting this change as there are missing dependencies which
affects audio playback.

Change-Id: I108c7bddd3931cb8ec9aeaecf96e774896b9aab0
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
2014-08-25 13:15:17 -07:00
Girish Mahadevan 05acedbe86 msm: msm_bus: Move busPM module to msm_bus folder
The busPM kernel module is used by userspace to profile bus traffic.
Move the modules and fix archtecture specific compile issues.

Change-Id: I540ec6c846f727e642f883a9bb3743f5f207eee3
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-08-25 10:54:35 -06:00
Linux Build Service Account f05bf73dbe Merge "ASoC: msm: qdsp6v2: Support adm open at multiple sample rate" 2014-08-24 10:54:11 -07:00
Linux Build Service Account ccd59794df Merge "Merge upstream tag 'v3.10.49' into msm-3.10" 2014-08-24 10:53:27 -07:00
Linux Build Service Account a3bedc0e68 Merge "ASoC: msm: qdsp6v2: Update calibration driver and voice driver" 2014-08-22 19:32:18 -07:00
Linux Build Service Account f2548d8b4f Merge "msm: camera: sensor: Add msm_camsensor_sdk.h" 2014-08-22 11:10:19 -07:00
Walter Yang 4c353a4209 ASoC: msm: qdsp6v2: Update calibration driver and voice driver
Update calibration driver and voice driver for per vocoder cal.
Update the voice-related cal types. Add new enumerate.

Change-Id: I10c60724c2f1e44f948d6d2ee8b19cd32c2adc40
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2014-08-21 18:24:24 -07:00
Johannes Berg 5f36837685 cfg80211: clarify BSS probe response vs. beacon data
There are a few possible cases of where BSS data came from:
 1) only a beacon has been received
 2) only a probe response has been received
 3) the driver didn't report what it received (this happens when
    using cfg80211_inform_bss[_width]())
 4) both probe response and beacon data has been received

Unfortunately, in the userspace API, a few things weren't there:
 a) there was no way to differentiate cases 1) and 4) above
    without comparing the data of the IEs
 b) the TSF was always from the last frame, instead of being
    exposed for beacon/probe response separately like IEs

Fix this by
   i) exporting a new flag attribute that indicates whether or
      not probe response data has been received - this addresses (a)
  ii) exporting a BEACON_TSF attribute that holds the beacon's TSF
      if a beacon has been received
 iii) not exporting the beacon attributes in case (3) above as that
      would just lead userspace into thinking the data actually came
      from a beacon when that isn't clear

To implement this, track inside the IEs struct whether or not it
(definitely) came from a beacon.

CRs-Fixed: 659678
Reported-by: William Seto
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Change-Id: Ifbb1958d7c6860aeb849556c59db91ef04e62624
Git-commit: 95aaa02c6234c462684c9e56e6800a40cef33af8
Git-repo : https://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-next.git
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2014-08-21 15:56:55 -07:00
Simon Wunderlich 487cd27246 nl80211: add scan width to bss and scan request structs
To allow scanning and working with 5 MHz and 10 MHz BSS, extend the
inform bss commands and add wrappers to take 5 and 10 MHz bss into
account.

CRs-Fixed: 659678
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Git-commit: dcd6eac1f3b5fa1df11dfa99da0cf75b76cfef97
Git-repo : http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git
[clanctot@codeaurora.org: Only picked up the add of NL80211_BSS_CHAN_WIDTH]
Change-Id: I684a1ad12e8b5cfe4c20f0fe549658cff22aaede
Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
2014-08-21 15:40:33 -07:00
Linux Build Service Account 9d98549c72 Merge "msm: vidc: Send resolution along with output buffer" 2014-08-21 15:30:47 -07:00
Vishnuvardhan Prodduturi f890bc931d msm: mdss: Support ARGB1555 and ARGB4444
Add support for  ARGB1555 and ARGB4444 formats in
mdp.

Change-Id: I6000316d177d9988eabcca8f43131e3a9f636961
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
2014-08-21 12:13:32 +05:30
Ashray Kulkarni 5ce24a8d13 msm: vidc: add low power encoding
Add support to enable low power encoding.

Change-Id: I488289fd31fcc1d66e2be456ab47cece7cc0048c
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
2014-08-20 18:08:22 -07:00