Commit graph

583272 commits

Author SHA1 Message Date
Arumuga Durai A
c173d5504d USB: gadget: Replace %pK with %pM
commit 7d08f0c4e3b7c35e ("usb: gadget: replace %p with
%pK") modifies the %pM (MAC address format specifier) as
%pKM in usb drivers. when usb composition switch happens
ecm function bind_config() access the invalid host's
ethernet address and leads usb enumeration failure. Fix
this by replace %pKM with %pM only for usb-eth module.

Change-Id: I29364891fbdf381b5a6ea360ecdbe3ef237f24bd
Signed-off-by: Arumuga Durai A <cadurai@codeaurora.org>
2017-02-14 14:28:50 +05:30
Rakesh Pillai
15676fcd2a ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990
WCN3990 target uses more fields in htt rx descriptor.
Refactor htt rx descriptor to not break legacy code.
Remove last msdu check in htt rx for WCN3990 which is not required.

CRs-Fixed: 2005906
Change-Id: Id2f670ecd72ea898a11a9d9eea61b5a1f2364d32
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-14 12:13:38 +05:30
Yahui Wang
ed29ea5a01 input: touchpanel: Add ST Touchscreen version 4.1.0 driver
This is the reference driver source code for ST
Touchscreen of version 4.1.0. It is used for QVR8998
touchscreen.
(cherry picked from commit 2cd09314337d614e69d0ebd99afb71d99d31b69a)

Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 2cd09314337d614e69d0ebd99afb71d99d31b69a
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10
CRs-Fixed: 1106217
Change-Id: I6674245402c0a5d6cca6bf82a9f8b1bf4f4f4ef3
Signed-off-by: Jin Fu <jinf@codeaurora.org>
2017-02-14 13:33:47 +08:00
Jayant Shekhar
11c760b424 msm: mdss: Use DMA pipe in pan display path for SDM 3.x.x
Use DMA pipe for framebuffer as RGB Pipe type is not available
for SDM 3.x.x targets.

Change-Id: I4dad1df561badceb07d473c4530553a5b53753d1
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-02-14 10:47:18 +05:30
Saranya Chidura
f76d422d2c ARM: dts: msm: enable etr as default sink on sdm660
Coresight ETR sink is enabled as the default sink to
collect traces.

Change-Id: I78cec888284307dbc7e696e7b33b45707bf9e1ca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-14 10:30:14 +05:30
Saranya Chidura
2862bbf115 ARM: dts: msm: modify dcc ram size for sdm660 and sdm630
Modify DCC RAM size for sdm660 and sdm630. DCC RAM is used to
store captured information locally in DCC.

Change-Id: Ib4c630e165e55b8ac82976e406069ee9e4d3f3c2
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-14 10:06:35 +05:30
Taniya Das
e2ff0d9bb2 clk: qcom: Add support to log PLL/RCGR values in case of failure
In case of PLL lock errors or the RCGR fails to update the new
configuration, add support to capture all the PLL and RCGR
configuration registers as part of kernel logs.

Change-Id: Ifb0cefafc30f8796ba17f2d388fb65ed41aae485
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2017-02-14 09:56:09 +05:30
Gopikrishnaiah Anandan
df924b29ef drm/msm/sde: enable pixel extension and qseed3 along with VIG pipes
If the user-space client doesn't provide the pixel extension and qseed3
configuration, driver should set the default values. Change sets the
default values if user-space client is not configuring the blocks when
VIG pipes are selected.

CRs-Fixed:2002381
Change-Id: I02f0e76fb87587d2eed9e5f4fcca5baa7d605b92
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
2017-02-13 19:33:45 -08:00
Charan Teja Reddy
c8f8f45959 defconfig: msm: add fastmap config on sdm660
Fastmap feature is used in the cases where it required reduced time for
dma_map/unmap().

Change-Id: Ic1c1fd0bbd95d849eaf6ee13569e345117a988b6
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-02-13 19:30:08 -08:00
Abhijeet Dharmapurikar
f9b14578c9 ARM: dts: msm: configure interrupt types for charger for pmi8998
Currently the interrupt trigger type is configured as NONE. This
causes a level handler to be assigned to these interrupts.

However, all of them are edge triggered interrupts with varying
falling/rising/both edge flavors. Update the device tree to
use their correct trigger types thereby preventing missed interrupt
storms because of incorrect handler types.

Change-Id: I6b5cddc8281ca7f6810dcb754d7dd2e6ae6f339c
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-13 19:19:19 -08:00
Andrew Chant
c771875bbc input: synaptics_dsx: reallocate buffer under lock.
Prevent concurrent usage & re-allocation of the wr_buf variable.
Based off patch by chengengjia <chengjia4574@gmail.com>.

BUG: 33001936
Change-Id: I88d78e1ec0fc9e88b1e6824c06161b67d01136ec
Signed-off-by: Andrew Chant <achant@google.com>
Git-commit: d740e7228bd1578ed01762998b2a86e7df56e608
Git-repo: https://android.googlesource.com/kernel/msm
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-02-13 18:20:36 -08:00
cyizhao
b8b4a1bfa6 power: qpnp-fg-gen3: add support to configure batt_therm coefficients
Add support to configure battery thermal coefficients so that different
battery thermistors can be supported. These coefficients can be
configured via "qcom,battery-thermal-coefficients" device tree property.

CRs-Fixed: 2004461
Change-Id: Iff25acd397a68c31057dff4db1896d46e396adc6
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-02-14 10:13:14 +08:00
Rob Clark
301d0d2faf drm/msm: add put_iova() helper
We'll need this too for shrinker/purging.

Change-Id: Ic0dedbada844d46b608c99cf3eaa3a898a6d5016
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 4fe5f65e66823dcb212a0404af47389b2b1c58f0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[jcrouse@codeaurora.org: Modified to use different iommu map function
 and merge with existing display changes]
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:47 -07:00
Jordan Crouse
ea04cab92c drm/msm: Remove the 'len' parameter from mmu map/unmap functions
Nobody uses this now that we are entirely scatter/gather enabled.
Remove it to avoid having to calculate the length unnecessarily.

Change-Id: Ic0dedbad020998e1c8fd5d526789f73beb0d5755
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:47 -07:00
Rob Clark
25f7092758 drm/msm: set dma_mask properly
Previous value really only made sense on armv7 without LPAE.  Everything
that supports more than 4g of memory also has iommu's that can map
anything.

Change-Id: Ic0dedbad6ca5973f2ac0d2690dec77e40787b8da
Git-commit: 49d24b7a6bf253aeb7cb81672316c83e7b628ea9
Git-repo: https://github.com/freedreno/kernel-msm
Signed-off-by: Rob Clark <robdclark@gmail.com>
[jcrouse@codeaurora.org: Fixed minor merge issues]
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:46 -07:00
Jordan Crouse
a2f939ec05 drm/msm: Use phys_addr_t for physical addresses
Use phys_addr_t to store physical addresses destined for iommu_map() to
support targets that can have more than 32 bits of physical address space.

Change-Id: Ic0dedbad8d87bf05c602bccdd48338086d76478d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:46 -07:00
Archit Taneja
c49b6e4727 drm/msm/adreno: Remove CONFIG_OF checks
Remove CONFIG_OF checks in adreno_device.c. The downstream bus scaling
stuff is included only when CONFIG_OF is not set. So, remove that too.

Change-Id: Ic0dedbadbd39970667e7ab745c4b276690a0b0d7
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 66a42f8586897c3a95ac2fef5e2ee1e69da695c8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:45 -07:00
Rob Clark
77ee764b12 drm/msm/adreno: remove duplicate adreno_hw_init() call
Not sure where it came from, but seem unintentional.  And also not
needed on a420, so let's just drop it.

Change-Id: Ic0dedbaddb70f0268d4182cc206412b6c69fd472
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 7977f4426c44da95c5dba91a62f099411e029de8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:45 -07:00
Craig Stout
aebdca078e drm/msm/adreno: get CP_RPTR from register instead of shadow memory
As described in the downstream/kgsl driver:
Sometimes the RPTR shadow memory is unreliable causing timeouts
in adreno_idle().  Read it directly from the register instead.

Change-Id: Ic0dedbadf67029a7f8f872daa16d2286efe46267
Signed-off-by: Craig Stout <cstout@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 7d0c5ee9f07779ab29ac291748060a0a6f1d66db
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:44 -07:00
Rob Clark
a9d820db89 drm/msm: add timestamp param
We need this for GL_TIMESTAMP queries.

Note: currently only supported on a4xx.. a3xx doesn't have this
always-on counter.  I think we could emulate it with the one CP
counter that is available, but for now it is of limited usefulness
on a3xx (since we can't seem to do time-elapsed queries in any sane
way with the existing firmware on a3xx, and if you are trying to do
profiling on a tiler you want time-elapsed).  We can add that later
if it becomes useful.

Change-Id: Ic0dedbad46a7cb22391de89ed2341a5a378e1bb0
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 6c77d1abe61797239533918d7a0336fc84f4aef1
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:44 -07:00
Rob Clark
444def30a7 drm/msm: add max-freq gpu param to uapi
We need this in userspace for interpreting some of the perf ctrs.

Note possibly not quite sufficient if we had some frequency mgmt
approach other than race-to-idle.  Not really sure what the best
thing to do if we did.  Although displaying results as a percentage
of max frequence seems sensible(ish) if we did.

Change-Id: Ic0dedbad1d8481cd2609ae0d86d4de6045f0d22e
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Git-commit: 4102a9e5325941223fbfa0a56175e9efb3d4385a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:43 -07:00
Craig Stout
c69e93c13d drm/msm/adreno: add adreno430 power control
Change-Id: Ic0dedbadb04269a45b56bc88955977110607b566
Signed-off-by: Craig Stout <cstout@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 38bbc55ef5858301f5da6f6261434033a30058f6
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:43 -07:00
Craig Stout
83cc5fb12c drm/msm/adreno: support for adreno 430.
Change-Id: Ic0dedbad2287ea30f82398e3a8d2e40d15fad95a
Signed-off-by: Craig Stout <cstout@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 357ff00b08d67cfb489f2e306bda7d3ef45a1306
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:42 -07:00
Rob Clark
82f35c246c drm/msm: update generated headers
Pull in additional regs needed for a430, etc.

Change-Id: Ic0dedbada256c546268b2a19556a78e8912d06e4
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: a2272e48eef02869dc3fa031720f36dd4cb05e4f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-13 15:29:42 -07:00
Prasad Sodagudi
a67da1d6f3 firmware_class: Add null check in firmware_direct_write
Add null check in firmware_direct_write to avoid null
pointer dereference due to firmware_abort.

Change-Id: Ibde30452bb6f3fe7a9f92aa3b1f2ed85a858d94e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-13 14:23:26 -08:00
Mahesh Sivasubramanian
466165aa64 qos: Add NULL checking for irq descriptor
Check for NULL for irq descriptor to prevent deferencing an invalid
address.  The qos value is then ignored as it cannot be associated with
the requested irq.

Change-Id: I82fdc9b10ffff89032a0f0e9dade42e4c670f4b9
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2017-02-13 14:55:08 -07:00
Ghanim Fodi
56b076a17f msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR
SSR logic is executed during device shutdown. During device
shutdown the Linux tasks (processes) are moving to SIGKILL
state. If a DMA allocation from the kernel happens
in a context of a process in SIGKILL state and page migration
is needed, the allocation will fail.
Use GFP_ATOMIC allocation flag during SSR. This will
utilize the atomic memory pool and will not require page
migration.

CRs-fixed: 1077811
Change-Id: Ie06b85d1f9d0a230c3d3832b6f0bbcdefc520c1e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-02-13 23:04:06 +05:30
Vishnuvardhan Prodduturi
0487f36f6b ARM: dts: msm: add ESD and ULPS support for SDM660 panels
Add following support for SDM660 panels.
1) ULPS support for 1080p panels
2) ESD support for 1080p and truly  WQHD panels
3) DCS backlight support sharp WQHD panel

Change-Id: Ied36d4771df8c9e24ef27ebaabc948ad4a13bac7
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
2017-02-13 21:29:14 +05:30
Rajesh Yadav
15d73a6519 msm: mdss: Rate limit hist bin error logs
Incase of underflow, hist bin errors are flooding
the kernel logs. Rate limit the hist bin error logs.

CRs-Fixed: 2005935
Change-Id: Ief360271f0dfa9b68beea87f8fb2bbad379eddac
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
2017-02-13 18:51:19 +05:30
Karthikeyan Mani
cf5ecb508b ASoC: msm8998: Add DoP support on QUAT TDM
Add pinctrl dynamic switching support between
QUAT TDM and QUAT MI2S. Add snd_soc_be_ops for
QUAT TDM.

CRs-fixed: 1116515
Change-Id: Iced075d43d137639bcda6b6e6b2233b6740c5d36
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-02-13 01:10:05 -08:00
Josh Kirsch
d6cacdfe65 ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode
Add support for 352800 sampling rates and 32 bps for the TDM.
Add support for PCM compress passthough mode with mixer controls.

CRs-fixed: 1116515
Change-Id: Iab059a5a6b6ce8f57717023467677a399a60032e
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-02-13 01:08:43 -08:00
Govind Singh
efc329cae7 defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098
This module adds support for the Integrated WCN3990 WLAN
module, The ATH10k WCN3990 has integrated 802.11ac chipset
with SNOC bus interface.

The ATH10K is MAC80211 based driver, enable MAC80211 and
ATH10K core related kernel config flag for driver compilation.

CRs-Fixed: 2005603
Change-Id: Ie153688eabf29e8f33aee413750028147a94d9a2
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-02-13 13:16:15 +05:30
Trishansh Bhardwaj
15427a54b5 ARM: dts: msm: Add qcom,gpu-limit property for sdm660
Notify kgsl to set max freq to gpu-limit when camera
use case is running.

Change-Id: Idb6b385a8dbf2ee71a583c5de6a55588ca454f22
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2017-02-13 12:43:07 +05:30
Trishansh Bhardwaj
327a93c64a msm: camera: Limit GPU clock on camera open
On camera open, vote for kgsl power limit to decrease GPU clock.

Change-Id: I8678409903b630ad6cdea5df472e08167789102c
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2017-02-13 12:43:07 +05:30
Odelu Kukatla
5e79af97dd clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver
Following list of changes have been made
1. Add the missing clocks in multimedia clock controller driver.
   Also clean up clock flags and parent info for few clocks.
2. Removing clocks which are not controlled by HLOS.
3. MMCC needs to vote for volatge level on rail for the clock
   frequencies, so add voltage voting in MMCC.
4. Initial rate configuration for MMPLLs.

Change-Id: If3d84e52783651b611b624dbc60b18993c0f0b1a
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-13 12:29:55 +05:30
Manish Dewangan
bb52835a61 ASoC: msm: qdspv2: Add mixer controls for drift query
Add mixer control to query avtimer vs HDMI drift.

CRs-Fixed: 1112258
Change-Id: If57a8e32de65f3e4949cd44631552ce5afe41ef2
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2017-02-12 22:18:32 -08:00
Manish Dewangan
563050b247 ASoC: msm: qdsp6v2: Add support to query Drift.
Afe driver changes to query avtimer vs device drift.
Drift obtained can be used to pull the device pll so
that avtimer and device are in sync.

CRs-Fixed: 1112258
Change-Id: I4d4ddb0dbc06270553d583f266a44ddbe9412d1a
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2017-02-12 22:17:21 -08:00
Charan Teja Reddy
f1cc7ec4c8 arm: dma-mapping: add dma mapper for io-pgtable-fast for 32 bit
io-pgtable-fast was implemented to achieve
better performance for IOMMU map/un-map. Add
DMA API support that goes through io-pgtable-fast
for 32 bit targets.

Change-Id:I3d0560a4331f6b7b87c70d0885df11d12cb1d6ec
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-02-13 11:05:17 +05:30
xiaonian
a897b79683 ARM: dts: msm: Add sdhc2 for sdm630 QRD
Add sdhc2 to enable sd card for sdm630 QRD platform.

CRs-Fixed: 2005013
Change-Id: I3c88e1b80d36482b8f5563381656556d30a36f4c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-02-13 13:34:29 +08:00
Rajesh Kemisetti
daaf5f2b04 ARM: dts: msm: Add GPU properties for SDM630
Add initial version of SDM630 GPU properties.

This is needed to support Graphics driver functionality
on SDM630 target.

Change-Id: I0442ed8dbb728adae36db8631eeba83c6425ea82
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-13 10:44:16 +05:30
Pavankumar Kondeti
4e258da2a2 ARM: dts: msm: update CPU efficiency values for sdm660
Update the CPU efficiency values as per the post silicon
data.

Change-Id: I69321cf5b4cf80d91f27744dd3da617354f3474d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-13 10:35:33 +05:30
Odelu Kukatla
9ae1287659 ARM: dts: msm: Enable OSM CPU clocks for SDM630
OSM cpu clocks require the supply rails on which power and perf
clusters are connected, so add the same.
And also enable the OSM cpu clocks.

Change-Id: Ied5e360d3569fb5f75a08d8495ec783886b924fd
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-02-13 10:23:21 +05:30
Tirupathi Reddy
af45f02836 regulator: cpr3: Use default step_quot during corner switch
Configure CPR4/h controllers to reset to default step_quot on each
loop_en = 0 transition. This enables the CPR controller to use the
default step_quot during a corner switch and then later switch to
the run-time calibrated step_quot. Without this feature enabled,
there is a chance for the CPR controller to use the run-time
calibrated step_quot of lower modes for higher modes that sometimes
can lead to closed-loop voltage getting stuck at open-loop voltage.

CRs-Fixed: 2003482
Change-Id: Ic738f6205a2e2030202abd811e94bd47240bad43
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-13 09:32:57 +05:30
xiaonian
f242508320 ARM: dts: msm: Add sdhc1 for SDM630 QRD
Add sdhc1 to enable eMMC support for SDM630 QRD.

CRs-Fixed: 2005010
Change-Id: I8d6c9f1479d7bde36b86b5e482085fef033795a1
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-02-13 09:44:27 +08:00
xiaonian
9c5dd62ff8 ARM: dts: msm: Add ufs support for SDM630 QRD
Add ufs and ufs-phy device nodes to support
ufs as storage device for SDM630 QRD platform.

CRs-Fixed: 2005015
Change-Id: If0c4edaba9285ba9a1c927e1e804427160947b11
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-02-13 09:09:47 +08:00
Linux Build Service Account
3a7e752617 Merge "spi: spi_qsd: Use the right device for dma_unmap_single operation" 2017-02-12 14:28:20 -08:00
Sandeep Panda
73ab4eae31 msm: mdss: mask DSI FIFO overflow errors during BTA operation
For some DSI panels where porch values are less, if BTA operation
does not finish in BLLP period, then fake overflow errors are
expected. So disable DSI FIFO overflow errors before triggering
BTA and enable it back once BTA acknowledgment is received for
video mode panels.

Change-Id: If63ac6435f5786c834fe797478c38a9a2f51076b
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-02-12 08:36:14 -08:00
Prasad Sodagudi
6ff89e188d ARM: dts: msm: Enable pil_modem for apq8998 mediabox
To support WLAN on apq8998 mediabox platform, modem PIL is needed.

Change-Id: I542053414f5de256514f252b8c019d498756bf80
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-02-12 07:59:39 -08:00
Ghanim Fodi
7468733078 msm: ipa3: UL event based completion
Split the joint LAN_WAN producer pipe to two
pipes, one for LAN and one for WAN.
Use event based completion for the WAN pipe
instead of status based to improve UL performance.

CRs-fixed: 1098422
Change-Id: I1776a5b9dc6265dc862a2eeb9419dce34efaad8b
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-02-12 16:02:03 +02:00
Abhinav Kumar
1e71162129 drm/msm/sde: signal pending PAGE_FLIP events
Currently any pending PAGE_FLIP events are not signalled
by the drm driver. Userspace blocks on these events
to trigger a redraw. Add support to signal the PAGE_FLIP
complete events after commit is complete.

Change-Id: I887efc48f8890e5e1ed055f7016393a90fc26fa6
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-02-11 13:06:47 -08:00