summaryrefslogtreecommitdiff
path: root/include/uapi (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | msm: vidc: Enable blur support for encodeArun Menon2016-06-03
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add v4l2 control extensions to allow the video driver client to enable/disable blur feature in the firmware. CRs-Fixed: 975505 Change-Id: I1b340d13bfef3b71d049d53c9bb79e4effafc79a Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | | msm: camera: Add support for DPCM modesVijay kumar Tumati2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DPCM8 and DPCM6 are 10 bit to 8 and 10 bit to 6 bit compression formats respectively which sensor outputs and it is decompressed to 10 bit in CSID Change-Id: I8ec4de7d9cfa5e9c86d97bd9cb81feddc97dc7b8 Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org> Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* | | | | msm: vidc: Add SEI extradataVikash Garodia2016-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change extend the support in video driver to enable few SEI extradata. Also update the extradata menu V4L2 control with all the available list of extradata. CRs-Fixed: 1007521 Change-Id: I6d060afb48aca34c2bb54221c5babc0ac55aff7c Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
* | | | | msm: mdss: Add newly supported writeback formats to MDP driverBenet Clark2016-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Writeback display now supports more MDP formats. This change adds the definitions for those formats. CRs-Fixed: 978785 Change-Id: I72fc29a8d7b286b0766c0483ba69d6e02d29b661 Signed-off-by: Benet Clark <benetc@codeaurora.org>
* | | | | msm: vidc: Enabling DPB-OPB split for NV12 color formatPraneeth Paladugu2016-05-19
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Video firmware will send a HFI_PIC_STRUCT field in sequence changed event, which indicates whether the clip is interlaced or progressive. If the color format is NV12 and the clip is interlaced, DPB mode would be combined NV12 while the DPB mode is split i.e. DPB is in UBWC and OPB is in NV12. Also combining the pic struct change and bit depth change into a single event to the userspace. CRs-fixed: 1017209 Change-Id: Ife71e31622a53d0ea4cc418d434998e710352e10 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
* | | | msm: mdss: Add support for concurrent writebackJeykumar Sankaran2016-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for concurrent writeback in supported targets. The client requests for concurrent writeback by selecting the data point in output buffer flags. Change-Id: Ic108ce94daef4f96d1fa27b4057e49c01b9e9b8e Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org> Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | msm: kgsl: Add property to determine GPU bitnessSunil Khatri2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the property to determine GPU bitness which is used by the clients via KGSL ioctl. Certain clients of KGSL such as Open-CL driver need to know explicitly about the GPU mode. Change-Id: I77523d7816edb9776014aaf3aa85321af0d20aaf Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
* | | | msm: jpeg: Expose JPEG DMA max downscale to user spaceGautham Mayyuri2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will retrieve JPEG DMA max downscale factor from dtsi and expose it to user space. CRs-Fixed: 1009871 Change-Id: I57496aeb47d907f540a25c854ef7b35c6b5ab399 Signed-off-by: Gautham Mayyuri <gmayyuri@codeaurora.org>
* | | | msm: mdss: add support for multi-rect featureAdrian Salido-Moreno2016-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for DMA multirect pipes available in new MDP revision. These pipes are able to fetch two different buffers and rectangles to allow more layers to be fetched. Add support and proper validation checks for limitations. CRs-Fixed: 987777 Change-Id: I588ecd7829a45908241f6d9fa1e97147e79798f6 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | | msm: mdss: Adding interface for supporting destination scaler.Naseer Ahmed2016-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSM mdss 3xx hardware supports destination scaling for upscaling the layer mixer output to the panel resolution. This change adds the new interface to support the user space client using this feature. CRs-Fixed: 988990 Change-Id: Ie267f0fd81cd8cf04a5c1f1c6a8c48d456a3035e Signed-off-by: Benjamin Chan <bkchan@codeaurora.org> Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* | | | msm: vidc: Add support for output crop extra dataArun Menon2016-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Venus firmware reports the crop dimensions for each FBD in the extra data buffer. This change is needed to support the new extra data type - MSM_VIDC_EXTRADATA_OUTPUT_CROP. CRs-Fixed: 999551 Change-Id: I3d1aa4a44701192e4bd85bdee29d6f2a49b9e5a7 Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | spcom: add ION buffer supportAmir Samuelov2016-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new spcom API to allow user to send request/response with ION buffer. The spcom kernel driver modify the request/response by replacing the user ION buffer virtual address with the buffer physical address. spcom also provide API to lock/unlock the ION buffer to avoid the SP side using an ION buffer that was free when HLOS App crashed. CRs-Fixed: 986215 Change-Id: I5dca692cd3c4fac63be5ec73f89e6c39a593a50b Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | msm: jpeg: DMA V4L2 driver changesAshwini Rao2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed issues in jpeg DMA v4l2 driver, related to incorrect clock index, incorrect buffer offset, incorrect dtsi node names for VBIF, QOS and mmu prefetch. CRs-Fixed: 1001324 Change-Id: Ice15afd63e006401a469376277b50a129ef177b4 Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>
* | | | uapi: Add MHI deviceSiddartha Mohanadoss2016-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Export MHI device header for user space clients. Change-Id: I0f68975dfcad9483182e5af5477153f39a98ac1f Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
* | | | USB: QTI: Add missing usb_ctrl_qti.hMayank Rana2016-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f_gsi compilation is failing with below error: fatal error: linux/usb/usb_ctrl_qti.h: No such file or directory Hence add missing usb_ctrl_qti.h to resolve above error while compiling f_gsi.c file. This file's snapshot is taken from msm-3.18 kernel as 'commit 24b986908cc1 ("power: qpnp-fg: stop IMA transactions during FG shutdown")'. CRs-Fixed: 1001469 Change-Id: Ib7dce6b2ae1670554a29847e4381e71ba7b75edf Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | Merge branch 'mdss-final-replay' into msm-4.4Adrian Salido-Moreno2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge brings all display changes from msm-3.18 kernel * (58 commits) msm: mdss: add support for additional DMA pipes msm: mdss: refactor device tree pipe parsing logic msm: mdss: refactor mixer configuration code msm: mdss: add support for secure display on msm8953. msm: mdss: disable ECG feature on 28nm PHY platform msm: mdss: send DSI command using TPG when in secure session msm: mdss: Update histogram and PA LUT in mdss V3 msm: mdss: validate layer count before copying userdata msm: mdss: Fix potential NULL pointer dereferences Revert "msm: mdss: Remove redundant handoff pending check" msm: mdss: hdmi: Do not treat intermediate ddc error as failure msm: mdss: revisit igc pipe enumeration logic msm: mdss: Add PA support for mdss V3 msm: mdss: Add support for mdss v3 ops msm: mdss: Update the postprocessing ops using mdss revision msm: mdss: update the caching payload based on mdss version msm: clk: hdmi: add support for atomic update msm: sde: Add v4l2 rotator driver to enable multi-context usecase msm: mdss: refactor pipe type checks msm: mdss: add proper layer zorder validation msm: mdss: stub bus scaling functions if driver is disabled msm: mdss: avoid failure if primary panel pref is not enabled msm: adv7533: add support for clients to read audio block msm: mdss: add lineptr interrupt support for command mode panels msm: mdss: update rotator frame rate in the pipe configuration mdss: msm: Avoid excessive failure logs in igc config msm: mdss: delay dma commands for split-dsi cmd mode panels msm: mdss: enable GDSC before enabling clocks in MDP3 probe mdss: dsi: turn off phy power supply during static screen mdss: dsi: read dsi and phy revision during dsi ctrl probe msm: mdss: Fix memory leak in MDP3 driver msm: mdss: delay overlay start until first update for external msm: mdss: free splash memory for MSM8909w after splash done msm: mdss: hdmi: separate audio from transmitter core msm: mdss: disable dsi burst mode when idle is enabled msm: mdss: remove invalid csc initialization during hw init msm: mdss: dsi: increase dsi error count only for valid errors msm: mdss: remove HIST LUT programming in mdss_hw_init msm: mdss: dsi: ignore error interrupt when mask not set msm: mdss: add support to configure bus scale vectors from dt msm: mdss: unstage the pipe if there is z_order mismatch msm: mdss: squash MDP3 driver changes and SMMU change msm: mdss: Read the bridge chip name and instance id from DTSI msm: mdss: Enable continuous splash on bridge chip msm: mdss: Fix multiple bridge chip usecase msm: mdss: Enable export of mdss interrupt to external driver msm: mdss: rotator: turn off rotator clock in wq release msm: mdss: fix ulps during suspend feature logic clk: msm: mdss: program correct divider for PLL configuration msm: mdss: fix DSI PHY timing configuration logic msm: mdss: hdmi: add support for hdmi simulation msm: mdss: handle race condition in pingpong done counter clk: qcom: mdss: calculate pixel clock for HDMI during handoff msm: mdss: ensure proper dynamic refresh programming for dual DSI msm: mdss: Add fps flag and update blit request version msm: mdss: initialize fb split values during fb probe mdss: mdp: fix rotator compat layer copy msm: mdss: handle DSI ctrl/PHY regulator control properly CRs-Fixed: 1000197 Change-Id: I521519c8abe8eed6924e2fbe3e1a026126582b77 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | | msm: camera: sensor: Update actuator specific I2C structuresRajesh Bondugula2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update actuator specific I2C addr_type and data_type structures. Use the strucutres defined by sensor. CRs-Fixed: 982082 Change-Id: I77753fd25d5a4256a4a4cdd74518facd63becf25 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
* | | | cfg80211: basic support for PBSS network typeLior David2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PBSS (Personal Basic Service Set) is a new BSS type for DMG networks. It is similar to infrastructure BSS, having an AP-like entity called PCP (PBSS Control Point), but it has few differences. PBSS support is mandatory for 11ad devices. Add support for PBSS by introducing a new PBSS flag attribute. The PBSS flag is used in the START_AP command to request starting a PCP instead of an AP, and in the CONNECT command to request connecting to a PCP instead of an AP. Change-Id: I9f26a8ff8433268240eb9443befadc0d279a0293 [liord@codeaurora.org: added missing attributes to nl80211.h that were added in upstream kernel before the PBSS attribute, in order to keep the ABI compatible] Signed-off-by: Lior David <liord@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Git-commit: 00807f28573a101dc2833f0075e806b9874f306c Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982931 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | msm: sde: Add interface to support sde v4l2 rotatorAlan Kwong2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current fbdev rotator interface lacks support for mult-context use cases. This new interface adopts V4L2 M2M framework to support multiple concurrent sessions/contexts efficiently. CRs-Fixed: 972831 Change-Id: I89593a57ba44e91c95d73154a7830539e5aab6e3 Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* | | | msm: camera: uapi header splitJeremy Gebben2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move userspace visible definitions to the uapi directory. Change-Id: I95b754a1f888f849eb50e449a211b18633aff6a2 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | msm: mdss: add interface for all MDP supported formatsRamkumar Radhakrishnan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define all MDP supported RGB/YUV formats in user mode interface. CRs-Fixed: 984465 Change-Id: I5af1d0b4a2b249b600319abcf23c188b7d2948a5 Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
* | | | msm: mdss: Update interface to support Qseed3.Gopikrishnaiah Anandan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSM cobalt mdss hardware block supports Qseed3 module which provides functionality of scaling, sharpening. Change adds support for exposing the block to user-space clients. CRs-Fixed: 982712 Change-Id: I7a74566a527285aba313321a59bc17dd362e84ff Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
* | | | msm: mdss: Add mdss version for msmcobalt.Jeykumar Sankaran2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds MDSS Hardware revision for msmcobalt. Change-Id: I559be9fd98978927dff81ab19bff6b7171679428 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org> Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> CRs-Fixed: 979566 [dkeitel@codeaurora.org: fixed minor merge conflict.] Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | qseecom: move compat_qseecom.hZhen Kong2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uapi directory shouldn't contain compat definitions, so move this file out of there. Change-Id: Ieef35ec02157c253a137c1b1bce3c6518c7f1b31 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org> Signed-off-by: Zhen Kong <zkong@codeaurora.org>
* | | | msm: kgsl: Add documentation to the new cmdbatch profiling flagJonathan Wicks2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for KGSL_CMDBATCH_PROFILING_KTIME to make it clear that KGSL_CMDBATCH_PROFILING must also be set. CRs-Fixed: 977455 Change-Id: I44f9dbc006450fbe226b642ee66b8d49dd1108cc Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
* | | | msm: mdp: update pgcGopikrishnaiah Anandan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PGC block of mdss supports 8/10 bit rounding options. Default setting is 10 bit, userspace module can enable 8 bit rounding by updating the flag. Change-Id: Ide66c3854e333a0a1ce48b15d82760f37a05cc10 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
* | | | msm: vidc: Add Video driver for MSM targetsArun Menon2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot for Video driver source for MSM targets. The code is migrated from msm-3.18 kernel at the below commit level - d5809484bb1bf5864dad2f081b0145224762963a. Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | msm: media: Add msm_media_info header to uapiArun Menon2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot for msm_media_info video header to uapi folder. The header file is taken from msm-3.18 kernel at commit - d580948 . Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | cne: Add reference count for Smart Wireless Interface ManagerSkylar Chang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the reference count for Smart Wireless Interface Manager to know whether there are any process who still has the socket in question in use or not. Enable INET DIAG. Redefine the TCP_FLAG as it gives compiling error when an enum is defined by a function return. Change-Id: I1aa9c810fec2e332048c9ef4199ec3f996bc3a75 Signed-off-by: Chinh Tran <chinht@codeaurora.org> [chiaweic@codeaurora.org: resolve conflicts encountered with port to 4.4] Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: ipa: snapshot of IPA changesSkylar Chang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This snapshot is taken as of msm-3.18 commit d5809484b (Merge "msm: ipa: fix race condition when teardown pipe" ) Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | ALSA: compress: update struct snd_codec_desc for sample rateVinod Koul2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we don't use SNDRV_PCM_RATE_xxx bit fields for sample rate, we need to change the description to an array for describing the sample rates supported by the sink/source Change-Id: I2dc6b4e48cccbc7a3da7207be42cf11502373572 Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Git-commit: b8bab04829ab190f71921d4180bda438ba6124ae Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: vivek mehta <mvivek@codeaurora.org> [fred@codeaurora.org: resolved context conflict in struct snd_codec_desc] [fred@codeaurora.org: added msm-compress-q6-v2.c to resolve compilation error] Signed-off-by: Fred Oh <fred@codeaurora.org>
* | | | sync: oneshot_sync: Add oneshot_sync driverJordan Crouse2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the oneshot_sync driver as of msm-3.18 commit 7892968f (sync: oneshot_sync: Update oneshot_sync for new sync APIs). Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
* | | | platform: msm: add Per-File-Tagger (PFT) driverAndrey Markovytch2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrated from msm-3.14. Additional fixes were made to compile with the new kernel and various new warnings and checkpatch issues were fixed Change-Id: I073db1041e41eac9066e37ee099f1da9e4eed6c0 Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> [gbroner@codeaurora.org: fixed merge conflict and adapted the LSM security hooks] Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | msm: camera: Update camera driversLakshmi Narayana Kalavala2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to update camera drivers to: 1. Update necessary Kconfig files to support camera driver compilation. 2. Support minor changes to V4L framework. 3. Export uapi headers to header_install export location. Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | Revert "msm: camera: Update camera drivers"Seemanta Dutta2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 282882c50fe26957c00bd598e8cab75d00251e2e. Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
* | | | msm: vidc: Add Video driver for MSM targetsArun Menon2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot for Video driver source for MSM targets. The code is migrated from msm-3.18 kernel at the below commit level - d5809484bb1bf5864dad2f081b0145224762963a. Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | ASoC: msm: Add support to query speaker parametersVidyakumar Athota2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SET and GET parameter APIs to query speaker parameters in feedback speaker protection FTM mode. CRs-Fixed: 974621 Change-Id: I1a51e5033d7836c0c996621593cd2f4dd6982dcd Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | mdss: msm: Update dither driver interfaceGopikrishnaiah Anandan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Post processing driver clients can program the dither table in mdp. If length of the dither table is set to 0, driver will program the default table. If driver client would like to program the table it needs to update the length field as per mdp hardware version. CRs-fixed: 983164 Change-Id: I5e6aaa3d9376884e5ea1fe153cdf2798e3a52d1e Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
* | | | msm: kgsl: Set the DDR high bank bit if specified in the device treeJordan Crouse2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 5XX targets we need to program the bit of the highest DDR bank into a number of registers, one of which is protected which would cause problems if the user mode driver tried to write to it. Specify the high bank bit in the device tree files, set the problematic register in the kernel and then pass the value up to the user mode driver as a property and let them program the other registers. This makes the device tree the authoratative source of the high bit value which is exactly how it should be. If the value isn't specified by the device tree for whatever reason return an error for the property request - that will give the UMD a clue that the value wasn't specified and they should just set a default. CRs-Fixed: 970272 Change-Id: Ic0dedbad830321329b74da7fa3e172fdaf765c4d Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
* | | | msm: kgsl: Add a cmdbatch profiling flag to get time since bootJonathan Wicks2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new cmdbatch profiling flag that populates the seconds and nanosecond fields of the cmdbatch structure with the time since boot instead of the wall time. CRs-Fixed: 968114 Change-Id: I4e752d5237a74192b3ea9cc125c11bae574c1b36 Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
* | | | msm: mdss: Add mdss capabilities for msmgoldKrishna Chaitanya Devarakonda2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MDSS version info along with other capabilities for msmgold. Change-Id: Ia4602fdaf29bad28dffab4bb08a43a6eb6f32178 Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org> Signed-off-by: Kalyan Thota <kalyant@codeaurora.org> Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | msm: mdss: Add mdss capabilities for msmtitaniumJayant Shekhar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MDSS version info along with other capabilities for msmtitanium. Change-Id: If9544098e8bb7f4b0d8198a931e5a7ef8eb561d4 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | include: batterydata-interface: Add snapshot of the batterydata filesAnirudh Ghayal2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot of the batterydata-interface files from msm-3.10, this is required for qpnp-vmbms module. (msm-3.10 commit - 7704c94d47f8ed7cc81e487ab9d576ef52e0f1e5) Change-Id: I322774879dec5856443c90280f7eb8b1b7f07798 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
* | | | qseecom: make change to support sg list entry number larger than 512Zhen Kong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qseecom_send_modfd_cmd_64 converts non-contiguous ION memory fd to scatter-gather physical address list, and supports up to 512 SG list entries. Now, 512 is not enough if client wants to send large data in a fragmented system. In this change, if SG list entry number is larger than 512, we will allocate a new contiguous kernel buffer, then save all SG entries into this new buffer. Change-Id: Id90eefb98b63bf16db755dae8e1482e448090f47 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
* | | | msm: ipa3: make ipa3 compile for corbalt rumiSkylar Chang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure the new IPA-interrupt register to get the IPA-HW irq, also change the tag process to be compatible to 64 bits platform. Change-Id: I29a8805cacc8d8df2f0e60ee8e1d2243c718d248 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: crypto: move compat_qcedev.hJeremy Gebben2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uapi directory shouldn't contain compat definitions, so move this file out of there. Change-Id: I1ee862e522d0b7f9bc4e22fb0e375b4cc1a53504 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
* | | | include: uapi: fix spcom.h using bitopsAmir Samuelov2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The include file <linux/bitops.h> is not available on user space. remove it from the spcom.h uapi file. Change-Id: I1a2ea14a4fc1154b63776e83909389cc73398f7d Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | include: uapi: add spcom.h to KbuildAmir Samuelov2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add spcom.h header file to the copy list, to be available for user space. Change-Id: Icafff242dd7b14094cb4ec846c20c8206a6bf9ce Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | msm: kgsl: include header dependenciesJeremy Gebben2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include the dependencies rather than relying on 'something else' to include them. Change-Id: I472e8f4abbc3d54904f441d42f2e7cb38bc413d0 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
* | | | soc: qcom: add secure processor communication (spcom) driverAmir Samuelov2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver supports communication with secure processor subsystem over glink transport layer. The communication is based on using shared memory and interrupts. This driver exposes interface to both kernel and user space. Change-Id: Iec5fc78c8370002643b549e43015c06b09d8ab8b Signed-off-by: Amir Samuelov <amirs@codeaurora.org>