Commit graph

571549 commits

Author SHA1 Message Date
Linux Build Service Account
2a8092a9c2 Merge "msm: mdss: fix QSEED3 bypass mode and lut cfg issues" 2016-07-13 15:45:25 -07:00
Linux Build Service Account
dd6f2cf39a Merge "qcom-charger: smb-lib: fix battery health status" 2016-07-13 15:45:24 -07:00
Linux Build Service Account
2197cb0f60 Merge "ARM: dts: msm: update VDD_APC1 CPR margin adjustments for msmcobalt" 2016-07-13 15:45:22 -07:00
Linux Build Service Account
c50c09ee13 Merge "ARM: dts: msm: enable qcom,no-smr-check for mmss smmu for msmcobalt" 2016-07-13 15:45:20 -07:00
Linux Build Service Account
da3d93c35c Merge "icnss: Add support for suspend/resume" 2016-07-13 15:45:20 -07:00
Linux Build Service Account
5551ac503f Merge "msm: mdss: Fix AD backlight configuration" 2016-07-13 15:45:18 -07:00
Linux Build Service Account
ba76bbcfcb Merge "defconfig: msmcortex: Enable USB audio QMI service driver" 2016-07-13 15:45:18 -07:00
Linux Build Service Account
066a92c8d6 Merge "usb: gadget: f_gsi: Increase USB GSI OUT TRBs from 7 to 31 for ECM" 2016-07-13 15:45:17 -07:00
Linux Build Service Account
32e8a524a8 Merge "usb: dwc3: Change dwc3 irq to oneshot threaded irq" 2016-07-13 15:45:16 -07:00
Linux Build Service Account
08adf1e8e9 Merge "msm: ipa3: support 64bitmask with SMMU attached" 2016-07-13 15:45:15 -07:00
Linux Build Service Account
b92f565d8f Merge "ASoC: wcd9335: Remove pop on bring-up of noise cancelling headset" 2016-07-13 15:45:14 -07:00
Linux Build Service Account
65acb683c4 Merge "defconfig: arm64: msm: Disable uid statistics" 2016-07-13 15:45:13 -07:00
Linux Build Service Account
ee3eae95ff Merge "clk: msm: clock-gpu-cobalt: Support running the gfx3d_isense clock at XO" 2016-07-13 15:45:13 -07:00
Linux Build Service Account
ccfaef0d78 Merge "msm: ipa: print resource bandwidth in ipa rm" 2016-07-13 15:45:12 -07:00
Linux Build Service Account
fe65bd3832 Merge "msm: vidc: Fix an issue with high bitrate playback" 2016-07-13 15:45:11 -07:00
Linux Build Service Account
5e9b45c7ed Merge "msm: mdss: hdmi: parse High Dynamic Range (HDR) metadata" 2016-07-13 15:45:10 -07:00
Linux Build Service Account
7fe77ef84d Merge "leds: qpnp-flash-v2: Separate switch node disable sequence" 2016-07-13 15:45:08 -07:00
Linux Build Service Account
8ba1928ffc Merge "ARM: dts: msm: Add switch nodes to pmicobalt" 2016-07-13 15:45:08 -07:00
Linux Build Service Account
348d50ac21 Merge "leds: qpnp-flash-v2: Add support for multiple switch nodes" 2016-07-13 15:45:07 -07:00
Linux Build Service Account
11e4a7a8da Merge "defconfig: msmcortex: don't set default CMA region size" 2016-07-13 15:45:06 -07:00
Linux Build Service Account
f259f4445d Merge "clk: msm: clock-mmss-cobalt: Add display port pixel clocks" 2016-07-13 15:45:05 -07:00
Linux Build Service Account
10619a898d Merge "msm: kgsl: Fix the access to invalid pool" 2016-07-13 15:45:04 -07:00
Linux Build Service Account
e29c82a01c Merge "ARM: dts: msm: Attach device memory to lpass iommu on msmcobalt" 2016-07-13 15:45:03 -07:00
Linux Build Service Account
48e2ef49ba Merge "nl80211: Move ACL parsing later to avoid a possible memory leak" 2016-07-13 15:45:02 -07:00
Linux Build Service Account
33212b2155 Merge "clk: msm: clock: Call the correct init sequence during fabia PLL handoff" 2016-07-13 15:45:00 -07:00
Linux Build Service Account
43237e2edc Merge "regmap: initialize dump count to 1" 2016-07-13 15:44:59 -07:00
Linux Build Service Account
d940b64528 Merge "Revert "msm: vidc: Handle encoder input in true dynamic mode"" 2016-07-13 15:44:58 -07:00
Linux Build Service Account
cdf04650af Merge "usb: gadget: f_gsi: Set speed descriptor pointers to NULL after free" 2016-07-13 15:44:57 -07:00
Linux Build Service Account
3872c04222 Merge "defconfig: msmcortex: Enable CONFIG_INET_LRO" 2016-07-13 15:44:56 -07:00
Linux Build Service Account
7becceae23 Merge "net lro: extend LRO to use hardware assists" 2016-07-13 15:44:56 -07:00
Linux Build Service Account
153ff5473d Merge "wil6210: abort P2P search when stopping P2P device" 2016-07-13 15:44:55 -07:00
Linux Build Service Account
497384f02d Merge "sched: break the forever prev_cpu selection preference" 2016-07-13 15:44:54 -07:00
Linux Build Service Account
afc9724015 Merge "msm: camera: isp: Fix RDI stream streamoff issue" 2016-07-13 15:44:52 -07:00
Linux Build Service Account
8013c761da Merge "cnss: Refactor CNSS Platform Driver for better code maintenance" 2016-07-13 15:44:51 -07:00
Linux Build Service Account
a4e4aba7e4 Merge "msm: vidc: pm qos stability fixes for video driver" 2016-07-13 15:44:50 -07:00
Abhijit Kulkarni
f49f768582 msm: mdss: fix QSEED3 bypass mode and lut cfg issues
This change enables the QSEED3 bypass mode in driver, until now if
scaling was not required driver was falling back to default configuration.
This change checks if scaling is not required on VIG pipes, driver only
programs the pixel extension and configures the bypass mode in QSEED3.
This change also corrects the LUT configurations for separable and
circular filters.

Change-Id: I17c8c3e422fd62feaada978ac2be48f891417db0
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
CRs-Fixed: 1036019, 1039433
2016-07-12 18:11:38 -07:00
Harry Yang
a81e7206ec qcom-charger: smb-lib: fix battery health status
Battery health shows 'good' in the ranges of both cold and
overheat temperatures. This change fixes a bug in its
get_prop function.

CRs-Fixed: 1040848
Change-Id: If6e6f60170cfb4769456de4c4428831a29489da2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-07-12 17:55:10 -07:00
Ping Li
570f2550be msm: mdss: Fix AD backlight configuration
When AD backlight attenuation feature is not enabled, the backlight
send to panel doesn't need to go through the backlight linearization
and inverse linearization.

Also set ad_bl_level to the current panel backlight level when AD
is enabled the first time and reset the ad_bl_level to 0 when AD
is disabled.

Change-Id: If96eccd817ecee6eae5fcc56fda29197b8b9f50d
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-07-12 15:59:44 -07:00
Aravind Venkateswaran
0730f45df2 ARM: dts: msm: enable qcom,no-smr-check for mmss smmu for msmcobalt
The continuous splash screen use case requires that we don't touch the
MMSS SMR registers during probe. Enable the option for skipping the
check for msmcobalt.

CRs-Fixed: 1037857
Change-Id: I1d522796d1dc0c73f7fe068c0964a9b5d1a09285
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:39 -07:00
Aravind Venkateswaran
8c2cc950a2 ARM: dts: msm: add proxy vote for BIMC SMMU GDSC for msmcobalt
When continuous splash screen feature is enabled, the display needs to
be kept alive during the kernel boot up. For video mode panels, frame
data needs to be continuously fetched from the framebuffer memory which
requires BIMC SMMU GDSC to remain on.  Add proxy vote for this GDSC to
prevent it from being turned off until the display driver hand off can
be executed.

CRs-Fixed: 1037857
Change-Id: Idef763153cdce4e59684da872520eb0cb0b1434d
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:35 -07:00
Aravind Venkateswaran
4937604179 clk: msm: mdss: fix calculation of VCO rate during handoff
When continuous splash screen feature is enabled, the DSI PLL
is configured in the bootloader and left on when the kernel boots
up. When the PLL clocks are handed off, the VCO rate needs to be
computed back from the registers. Fix bugs in the current
implementation for calculating the VCO rate.

CRs-Fixed: 1037857
Change-Id: I8905b91f26a66d26959fb109480f0390851cbdb4
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:29 -07:00
Mayank Rana
5e840b3bc9 usb: gadget: f_gsi: Increase USB GSI OUT TRBs from 7 to 31 for ECM
USB bus suspend with remote wakeup allowed case:
1. SUSPEND interrupt received from controller on USB bus suspend
2. gsi_suspend() blocks ringing of doorbell by USB controller to IPA GSI
and schedule usb_ipa_w work with event EVNT_SUSPEND
3. ipa_work_handler() work handler makes sure that USB GSI interface is
into IDLE state and calls ipa_usb_xdci_suspend() to put IPA GSI related
channel into suspend state and allow turning of IPA's clock
5. ipa_work_handler() decrements PM usage count, allow USB to go into LPM
6. USB controller driver turns off USB clocks and put into LPM

USB bus resume with remote wakeup allowed case:
1. WAKEUP interrupt received from controller on USB bus resume
2. USB controller driver turns on USB clocks
3. gsi_resume() increments PM usage count and schedule usb_ipa_w work with
event EVENT_RESUME
4. ipa_work_handler() work handler calls ipa_usb_xdci_resume() to resume
IPA GSI related channel and turning on IPA's clock
5. ipa_work_handler() unblocks ringing of doorbell by USB controller to
IPA GSI

In above USB bus resume case using specific host with ECM functionality,
host is able to send PING or data packets equal to prepared number of TRBs
(currently 7) on USB EP OUT successfully before above resume step 5 then
GSI ignores rang doorbell as WRITE pointer updating last consumed TRB is
already gone through full cycle. This results into data stall. Hence to fix
this issue increase number of TRBs used with USB OUT endpoint from 7 to 31
for USB ECM function with GSI accelerated path. This helps to have always
pending TRBs with USB controller and ringing of doorbell is not missed by
GSI once above resume step 5 is completed.

Also ECM doesn't support aggregation. Hence fix out aggregation size param.

CRs-Fixed: 1023149
Change-Id: Ife0f265b65fda92a99f5170154da6cb4c6b113b7
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-12 15:32:10 -07:00
Hemant Kumar
70cd4b34f9 defconfig: msmcortex: Enable USB audio QMI service driver
This allows APPS USB XHCI driver to offload the USB audio
ISOC data transfer to remote processor. USB audio QMI driver
starts a QMI service to communicate with remote processor to
exchange audio stream related information.

Change-Id: Ib771c685b3245878413cd78d20451a0dcfdfda63
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-12 14:48:10 -07:00
Bryse Flowers
50528f6171 defconfig: arm64: msm: Disable uid statistics
Disable deprecated UID_STATS configuration in
preparation for removing the option from KConfig.

Change-Id: I496093bbc2125afbac58e83e38113af90858f1e7
CRs-Fixed: 1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-07-12 13:51:56 -07:00
Yuanyuan Liu
e45a0a68cf icnss: Add support for suspend/resume
Add suspend/resume support in ICNSS driver.

CRs-Fixed: 1040309
Change-Id: I2776af4b633832ea8a930275481593f4b9d3bce3
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-07-12 13:50:53 -07:00
Osvaldo Banuelos
0910ca7c8f ARM: dts: msm: update VDD_APC1 CPR margin adjustments for msmcobalt
Update the open-loop and closed-loop voltage margin adjustments
for the VDD_APC1 rail in agreement with hardware characterization.
For open-loop, add 8 mV margin for LowSVS and 52 mV margin for
Turbo fused corners. For closed-loop, add 50 mV margin for
the Turbo fused corner.

CRs-Fixed: 1039620
Change-Id: Ib4ee0e9432bb6f2916416e2826d5590e98f9d426
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-07-12 13:44:45 -07:00
Stephen Oglesby
acffc8ef06 ASoC: wcd9335: Remove pop on bring-up of noise cancelling headset
In order to reduce an audible pop on bring-up of ANC headset
path, keep AMICs supplying ANC noise data muted and ANC block
in reset until after headset amps are enabled. Also synchronize
the PA enables.

CRs-fixed: 990915
Change-Id: Ifb6b7849ec60fa1b5e3fd56c1d45631af1c18fd8
Signed-off-by: Stephen Oglesby <soglesby@codeaurora.org>
2016-07-12 12:53:51 -07:00
Skylar Chang
6d79868447 msm: ipa: print resource bandwidth in ipa rm
Print resource bandwidth and total bandwidth in ipa resource
manager for debugging purpose.

Change-Id: Ib639cd850a7cafa5f1176f0fa09efac8ad8738d5
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-07-12 11:41:17 -07:00
Arun Menon
5bf14d8ab8 msm: vidc: Fix an issue with high bitrate playback
If the instant bitrate during playback is higher than
the max supported bitrate, then driver should ensure
that venus core is scaled at max frequency. Without this
change we will see frame drops if instant bitrate is
higher than max supported.

CRs-Fixed: 1038427
Change-Id: Id76865085285e2d8b92dba6aa456b972374789ac
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2016-07-12 11:20:20 -07:00
Liam Mark
e6149b4829 defconfig: msmcortex: don't set default CMA region size
Configure the default CMA region size in DT instead
of using CONFIG_CMA_SIZE_MBYTES.
This is better because it allows alloc-ranges to be set and
is easier to configure per target.

CRs-Fixed: 1024204
Change-Id: Ie3bff2a43cfc2ea16543a3e9322a10f42c4bd923
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-07-12 11:14:58 -07:00