summaryrefslogtreecommitdiff
path: root/include/uapi/linux (follow)
Commit message (Collapse)AuthorAge
* mmc: sdhci: Dont enable CDR for tuning commandsRitesh Harjani2016-05-31
| | | | | | | | | | | | | | Currently we enable CDR for every read command including for tuning procedure which is not correct (as CDR if enabled might correct the phase during tuning and we wont be able to detect the correct phase during tuning). So, disable CDR for read tuning commands. CRs-fixed: 759398 Change-Id: I051b6e3b204dde22cdc973759c3e32d0a81c369a Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
* include: mmc: Export sanitized mmc headersVenkat Gopalakrishnan2016-05-31
| | | | | | | | | Export sanitized mmc.h and core.h for userspace. Change-Id: I3a6eadde2023d974b0ce260a77082b01d8ba0b5d Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@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: 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>
* 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>
* 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: 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>
* 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>
* 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: 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>
* uapi: export IPA & Media headersSatya Durga Srinivasu Prabhala2016-03-23
| | | | | | IPA & Media headers need to go to userspace. Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* Export android_pmem.h to keep userspace compilingStephen Boyd2016-03-23
| | | | | | | | | | | Some applications still include android_pmem.h although all the functionality for it is gone from the kernel. Keep this header file around until all such users have removed the include. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> [satyap: trivial merge conflict resolution] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* hw_random: add snapshot of msm_rng driverZhen Kong2016-03-23
| | | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Acked-by: Shabnam Aboughadareh <shabnama@qti.qualcomm.com> Signed-off-by: Zhen Kong <zkong@codeaurora.org>
* perf: support hotplugNeil Leeder2016-03-23
| | | | | | | | | Add support for hotplugged cpu cores. Change-Id: I0538ed67f1ad90bbd0510a7ba137cb6d1ad42172 Signed-off-by: Neil Leeder <nleeder@codeaurora.org> [satyap: trivial merge conflict resolution] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* input: misc: add support for virtual mouseMohan Pallaka2016-03-23
| | | | | | | | | Add input driver for virtual mouse feature. The events are received through ioctls and transfer them through input framework. Change-Id: I0842b49ec1c8c6bef3005d9f4419ab15e3abe024 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
* input: hbtp_input: Port and add snapshot of changes from msm-3.10Himanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | | Port the HBTP Input driver and apply the following driver changes taken from msm-3.10 kernel branch as of msm-3.10 commit. 31773451 input: misc: add input driver for HBTP 20bf9c5f input: hbtp_input: bypass alphabetical and numeric key config e424ee72 input: misc: hbtp-input: add event type in uevents Change-Id: I122d22cf738c747bcd43ec7f90c33a239288fd9d Signed-off-by: Jing Lin <jinglin@codeaurora.org> Signed-off-by: Chun Zhang <chunz@codeaurora.org> Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* input: maxim_sti: move header to uapiJing Lin2016-03-23
| | | | | | | | | | | | | Move kernel data structures to driver and keep the data structures shared between kernel and user space in the header file. Move the header to uapi to make it accesible to user space. Fix checkpatch errors to replace deprecated functions and hardcoded error return values. Change-Id: Ic3312c11ddda9f02da9807a6243206d582281995 Signed-off-by: Jing Lin <jinglin@codeaurora.org>
* uapi: Kbuild: Expose thermal kernel headerArchana Sathyakumar2016-03-23
| | | | | | Expose thermal uapi kernel header file to the userspace Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
* uapi: Kbuild: Expose energy-aware kernel headerArchana Sathyakumar2016-03-23
| | | | | | Expose energy-aware uapi kernel header file to the userspace Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
* include: mmc: Export sanitized mmc headersVenkat Gopalakrishnan2016-03-23
| | | | | | | Export sanitized mmc.h and core.h for userspace. Change-Id: I3a6eadde2023d974b0ce260a77082b01d8ba0b5d Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
* mmc: card: Fix RPMB IOCTL to handle all cardsKrishna Konda2016-03-23
| | | | | | | | | | | | | | | | | | | | The eMMC 4.5 spec for RPMB accesses is not very clear on whether user parition accesses can be allowed in the middle of RPMB accesses. Due to this ambiguity, it turns out this is implementation defined and certain cards support it while others do not. In order to allow this feature to function across a wide variety of cards, this patch takes the pessimistic approach and ensures that any RPMB access is completed before user partition can be accessed. Change-Id: I77959f462c874771a0a854d9a2bc48df446eff56 Signed-off-by: Krishna Konda <kkonda@codeaurora.org> Signed-off-by: Oluwafemi Adeyemi <aadeyemi@codeaurora.org> Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org> [merez@codeaurora: fix conflicts due to changes in 3.14] Signed-off-by: Maya Erez <merez@codeaurora.org> [venkatg@codeaurora: pick only ioctl header changes and drop rest] Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
* msm: mdss: Add backlight threshold for ADPing Li2016-03-23
| | | | | | | | Notify user space with only backlight changes that pass the backlight threshold check. Change-Id: Id2fef0a2d9c883d0e68a5ad6be699858be6898ae Signed-off-by: Ping Li <pingli@codeaurora.org>
* msm: mdss: add mdss support for msm8937Clarence Ip2016-03-23
| | | | | | | | | | | | Initial set of changes to support msm8937. This includes adding MDP HW version for msm8937, and some makefile changes. Change-Id: I0646ea76060696d4fe35e3f6f5f2a949474c0b8b Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org> [cip@codeaurora.org: Resolved merge conflict. Remove makefile changes, always build mdss_mdp_pp_v1_7.c] Signed-off-by: Clarence Ip <cip@codeaurora.org>