OSDN Git Service
Linux Build Service Account [Wed, 10 Aug 2016 19:41:55 +0000 (12:41 -0700)]
Merge "drivers: mfd: wcd9xxx: Add support to configure dmic clock"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:53 +0000 (12:41 -0700)]
Merge "defconfig: msmcortex: Enable G-Link SPI Transport driver"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:55 +0000 (23:22 -0700)]
Merge "arm64: Select reset controller framework for MSM"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "NFC: IRQ gpio usage modification in nfc_read"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: Fix QOS settings for Venus on msmcobalt"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:53 +0000 (23:22 -0700)]
Merge "msm: vidc: Fix decoder output buffer size issue"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:52 +0000 (23:22 -0700)]
Merge "msm: ipa: Neutrino IPA offload support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:51 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: enabling dynamic FPS for nt35597 video panel"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:47 +0000 (23:22 -0700)]
Merge "msm: kgsl: Allow 0 as a valid ion file descriptor"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:45 +0000 (23:22 -0700)]
Merge "msm: kgsl: Make VBIF register dump more generic"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:44 +0000 (23:22 -0700)]
Merge "msm: crypto: Fix integer over flow check in qcedev driver"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "qcom: ssr: Fix possible overflow when copying firmware name"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "msm: vidc: Add Override QP extradata support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:40 +0000 (23:22 -0700)]
Merge "qseecom: Fix ion memory issue during unload app failure"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:39 +0000 (23:22 -0700)]
Merge "msm: mdss: free the correct layer_list in compat_atomic_commit"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:38 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt"
Gaurav Singhal [Fri, 8 Jul 2016 13:50:33 +0000 (19:20 +0530)]
NFC: IRQ gpio usage modification in nfc_read
Modified condition to ensure data is read
only after interrupt has occurred.
Spurious interrupt handling is done in nfc_read
instead of irq handler.
Change-Id: Ie2362610fe922e792e6358b4386c828fdd754fa8
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
Linux Build Service Account [Fri, 5 Aug 2016 04:39:49 +0000 (21:39 -0700)]
Merge "ASoC: wcd934x: Enable smart boost on WCD9340 codec"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:48 +0000 (21:39 -0700)]
Merge "icnss: pass fw version to wlan driver"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:47 +0000 (21:39 -0700)]
Merge "soc: qcom: pil: Add error codes to error logs"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:46 +0000 (21:39 -0700)]
Merge "msm: kgsl: Allocate global buffers through paged memory"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:45 +0000 (21:39 -0700)]
Merge "socinfo: Export API for getting SOC serial number"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:44 +0000 (21:39 -0700)]
Merge "ARM: dts: msm: Add dmic clock rate on ECPP path for 8996"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:43 +0000 (21:39 -0700)]
Merge "ASoC: msm8996: Add independent clock support on codec"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:42 +0000 (21:39 -0700)]
Merge "mdss: display-port: add support to use common EDID parser"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:41 +0000 (21:39 -0700)]
Merge "input: touchpanel: Goodix GT915 driver cleanup"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:40 +0000 (21:39 -0700)]
Merge "input: touchscreen: reduce lpm current of avdd reg for ITE tech"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:40 +0000 (21:39 -0700)]
Merge "input: touchscreen: add delay after enabling regulators"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:39 +0000 (21:39 -0700)]
Merge "ARM: dts: msm: Add battery data for QRD SKUK device"
Puja Gupta [Fri, 29 Jul 2016 22:27:27 +0000 (15:27 -0700)]
soc: qcom: pil: Add error codes to error logs
To help better understand error logs, print error codes along with error
logs.
CRs-Fixed:
1050153
Change-Id: Ic7fd560133d836ef15015ff0ebcdd3fdb13ff6cb
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Praneeth Paladugu [Wed, 13 Apr 2016 04:30:51 +0000 (21:30 -0700)]
msm: vidc: Fix decoder output buffer size issue
Decoder YUV buffer size should be derived based on current
resolution using Venus MACROS. This the only size that
clients are aware of. Using the size from FW will make
buffer sizes mismatches and unnecessary failures.
By not using buffer size from Venus, driver can avoid
unnecessary buffer requirement calls. This will reduce the
start-up latency.
CRs-Fixed:
1011881
Change-Id: I90762967e8b7888a775ce4771b6cdb08528b6513
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Sudheer Papothi [Tue, 2 Aug 2016 00:35:42 +0000 (06:05 +0530)]
ASoC: wcd934x: Enable smart boost on WCD9340 codec
During playback, enabling smart boost feature changes the threshold
of the playback signal based on the amplitude of the signal without
clipping the signal. Change enables smart boost on WCD9340 codec.
Change-Id: Ic4c5e3cc071898f376070b853112c5014d61272c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Zhen Kong [Fri, 29 Jul 2016 22:32:31 +0000 (15:32 -0700)]
msm: crypto: Fix integer over flow check in qcedev driver
Integer overflow check always fails when ULONG_MAX is used,
as ULONG_MAX is 2^64-1, while req->data[i].len and total
are uint32_t. Make change to use U32_MAX instead of
ULONG_MAX.
CRs-fixed:
1046507
Change-Id: Iccf9c32400ecc7ffc0afae16f58c38e5d78a5b64
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Sudheer Papothi [Thu, 19 May 2016 14:59:13 +0000 (20:29 +0530)]
drivers: mfd: wcd9xxx: Add support to configure dmic clock
DMIC clock on ECPP(Echo Cancellation Ping-Pong) path can be set to
lower clock rate to avoid power consumption. Change configures the
DMIC clock rate on ECPP path based on device tree settings.
CRs-fixed:
1022917
Change-Id: I03e1a7f5ef3cf1b1907c03a3d38965ce3a611bc4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Sudheer Papothi [Thu, 19 May 2016 14:48:49 +0000 (20:18 +0530)]
ARM: dts: msm: Add dmic clock rate on ECPP path for 8996
DMIC clock on ECPP(Echo cancellation Ping-Pong) path can
run at 1.2MHz. Change configures DMIC clock rate for ECPP
path in codec device node.
CRs-fixed:
1022917
Change-Id: Ie7a0a5c57af608cdb42fac9f0f95fe427de8ea1d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Sudheer Papothi [Thu, 12 May 2016 19:10:35 +0000 (00:40 +0530)]
ASoC: msm8996: Add independent clock support on codec
WCD9335 codec has single master clock supply widget for both
playback and recording paths. Adding separate clock supply
for playback and recording paths will help handle low power
audio recording usecases without affecting playback usecases.
Change is to enable separate clock supply widgets for playback
and recording paths.
CRs-fixed:
1022917
Change-Id: I3978d2c53f2b04104d9d279f8acad60326f9405c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Yuanyuan Liu [Thu, 28 Jul 2016 17:55:59 +0000 (10:55 -0700)]
socinfo: Export API for getting SOC serial number
Export API for getting SOC serial number so that other modules
can use it.
CRs-Fixed:
1050491
Change-Id: I24f735159a38dffdc4f44babacc4d758cd0a8365
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Karthikeyan Ramasubramanian [Tue, 2 Aug 2016 23:15:50 +0000 (17:15 -0600)]
defconfig: msmcortex: Enable G-Link SPI Transport driver
Enable G-Link SPI Transport driver to enable off-chip communication
over SPI bus.
CRs-Fixed:
1045916
Change-Id: I268d96f04b034edad2fadea8ef2c14fe8d8de251
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Karthikeyan Ramasubramanian [Wed, 29 Jun 2016 21:17:12 +0000 (15:17 -0600)]
ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt
G-Link SPI Transport is used to communicate with external audio codec.
Add G-Link SPI Transport device to support that configuration.
CRs-Fixed:
1045916
Change-Id: I97ca857c21d8873574a180d289e2fbca29c8a891
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Karthikeyan Ramasubramanian [Thu, 23 Jun 2016 18:09:45 +0000 (12:09 -0600)]
soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport
GLink SPI Transport enables point-to-point communication with an
external subsystem that uses SPI bus to interface. This enables
multiplexing multiple logical channels over the SPI bus.
CRs-Fixed:
1045916
Change-Id: I1936bb0542bcd531726bf987ef806969ce96d498
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Linux Build Service Account [Thu, 4 Aug 2016 15:22:41 +0000 (08:22 -0700)]
Merge "msm: mdss: Enable dynamic FPS support for msmcobalt"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:52 +0000 (21:12 -0700)]
Merge "arm64: dma-mapping: don't clear dma ops on bypass detach"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "Revert "arm64: dma-mapping: Attach IOMMUs as groups""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: Remove bogus stream ID from PCIe IOMMU"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:50 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:49 +0000 (21:12 -0700)]
Merge "soc: qcom: gladiator_erp_v2: initialize return value"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:48 +0000 (21:12 -0700)]
Merge "qcom-charger: qpnp-smb2: use values from hardware for default settings"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:47 +0000 (21:12 -0700)]
Merge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:46 +0000 (21:12 -0700)]
Merge "leds: qpnp-flash-v2: add support to query battery parameters"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "soc: qcom: core_ctl: Fix possible null-pointer dereference"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:44 +0000 (21:12 -0700)]
Merge "defconfig: arm64: msm: Re-enable qtaguid"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:43 +0000 (21:12 -0700)]
Merge "ASoC: wcd9335: Add support to enable low power mode on codec"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:42 +0000 (21:12 -0700)]
Merge "msm: mdss: add support for adaptive variable refresh feature"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:41 +0000 (21:12 -0700)]
Merge "msm: sde: Correct rotator irq handler to acknowledge irq once"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:33 +0000 (21:12 -0700)]
Merge "msm: gsi: do not register to inter ee irq"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:32 +0000 (21:12 -0700)]
Merge "msm: camera_v2: Fix a return code issue in smmu mapping"
Srinivasarao P [Mon, 6 Jun 2016 07:03:50 +0000 (12:33 +0530)]
qcom: ssr: Fix possible overflow when copying firmware name
Array overflow can occur in firmware_name_store(), if the variable
buf contains the string larger than size of subsys->desc->fw_name
CRs-Fixed:
1050153
Change-Id: Ice39d7a1eb0b5f53125cc5d528021a99b9f7ff90
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Runmin Wang [Wed, 3 Aug 2016 20:57:47 +0000 (13:57 -0700)]
soc: qcom: gladiator_erp_v2: initialize return value
Initialize the return value before it is used in the driver to
make sure valid return value is returned.
CRs-Fixed:
1050136
Change-Id: I3e2c524ac87d57ae33cd0f28b9c62b2a39ee79ad
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Praneeth Paladugu [Tue, 26 Jul 2016 22:46:25 +0000 (15:46 -0700)]
ARM: dts: msm: Fix QOS settings for Venus on msmcobalt
QOS values are programmed wrongly for msmcobalt. This can
affect Venus performance. This change fixes the same.
CRs-Fixed:
1046678
Change-Id: I6d474c2279422abe63ad625f35809fe156e8c465
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Sunil Paidimarri [Thu, 7 Jul 2016 18:46:55 +0000 (11:46 -0700)]
msm: ipa: Neutrino IPA offload support
Add support for Neutrino IPA offload data path.
Change-Id: Id03f608ecce341684239cf17998d05af4aa55fb5
CRs-Fixed:
1019913
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Deepak Katragadda [Wed, 3 Aug 2016 20:41:46 +0000 (13:41 -0700)]
clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT
The set_rate requests from the display port clocks should always
make their way upto the DP PLL. Add the NO_RATE_CACHE flag to
clocks in that path in order to let this happen.
CRs-Fixed:
1050007
Change-Id: I6a848b04756b92f9b1149705176e8f4088b2a945
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Olav Haugan [Wed, 3 Aug 2016 18:37:06 +0000 (11:37 -0700)]
soc: qcom: core_ctl: Fix possible null-pointer dereference
Ensure we don't try to call online/offline functions with a
null-pointer.
CRs-fixed:
1049957
Change-Id: I6fa8f9bde5d5fd0680b5c571ba3cc99bd1f508b1
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Bryse Flowers [Wed, 6 Jul 2016 18:11:09 +0000 (11:11 -0700)]
defconfig: arm64: msm: Re-enable qtaguid
Re-enable QTAGUID so that bandwidth control is possible from
userspace now that stability issues have been resolved by
picking upstream commits.
Change-Id: If3b0be88f28da82a08dc4cc67006e8ee8ced5a72
CRs-Fixed:
1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
Devesh Jhunjhunwala [Fri, 8 Jul 2016 01:09:08 +0000 (18:09 -0700)]
leds: qpnp-flash-v2: add support to query battery parameters
Register a notifier callback with the power_supply framework
to detect when the bms power_supply is available so that
it can be used to query the battery properties required from
the fuel gauge for the maximum current query algorithm.
CRs-Fixed:
1043718
Change-Id: Icd535025a2f888e188f89841f32ac5b822f9b20d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Linux Build Service Account [Wed, 3 Aug 2016 17:53:37 +0000 (10:53 -0700)]
Merge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset"
Karthikeyan Ramasubramanian [Wed, 20 Apr 2016 18:10:48 +0000 (12:10 -0600)]
soc: qcom: glink: Receive remote rx_intent with a cookie
Currently the remote rx_intent is stored with the primary information.
The transport cannot provide a cookie to be retrieved and used later during
transmission.
Add support to receive a remote rx_intent with a cookie.
CRs-Fixed:
1045916
Change-Id: Id5f204647205b2fde9e5cb422a3ddc8cc4f3a5a0
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Carter Cooper [Mon, 20 Jun 2016 21:25:45 +0000 (15:25 -0600)]
msm: kgsl: Allow 0 as a valid ion file descriptor
Treat 0 as a valid fd instead of treating it as an error.
CRs-Fixed:
1030098
Change-Id: I4a1b14fcbca617bc2a43b30af7256edc3920f04c
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
Hareesh Gundu [Thu, 23 Jun 2016 09:00:13 +0000 (14:30 +0530)]
msm: kgsl: Make VBIF register dump more generic
Make VBIF register dump more generic to avoid adding new entry
for every VBIF revision. There will not be any change in register
mapping and address for new VBIF revision. AHB reads are permitted
throughout entire VBIF range. For all unoccupied registers read
values driven to 0 by HW but should not be relied upon.
CRs-Fixed:
1021711
Change-Id: I5aada474389e9189abcd38f1bc4854ada91dea87
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Jordan Crouse [Tue, 31 May 2016 17:24:30 +0000 (11:24 -0600)]
msm: kgsl: Remove event worker
Scheduling issues were occurring with the GPU event worker after
b7be807 (msm: kgsl: Unbind the kgsl-event workqueue) was merged.
In certain conditions, it seems that the kgsl-event workqueue
was conflicting with the KGSL worker and slowing it down.
It turns out that everywhere we schedule the event worker
and the dispatcher worker at the same time. Since the worker
is singlethread, the event worker and the dispatcher run
synchronously anyway, so it makes sense to run the event processor
from within the dispatcher and save the extra schedule.
CRs-Fixed:
1043509
Change-Id: Ic0dedbad67eb04d41afb6add4477f146dfff9784
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Harshdeep Dhatt [Wed, 15 Jun 2016 23:28:49 +0000 (17:28 -0600)]
msm: kgsl: Read HLSQ SP/TP registers through debug aperture
Use crash dumper to read HLSQ SP/TP registers through debug ahb
aperture during device snapshot.
CRs-Fixed:
1019957
Change-Id: I3b18fd0d1eab28b6b3e5d314539cfbc15210f675
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Hareesh Gundu [Fri, 3 Jun 2016 09:36:51 +0000 (15:06 +0530)]
msm: kgsl: Don't read CP_RB_RPTR register without clock
For A3xx we get GPU read pointer from the CP_RB_RPTR
register instead of rptr scratch memory address. In
retire_cmdbatch() and _retier_maraker() GPU clock will
be off, so avoid reading CP_RB_RPTR register. Also hold
device mutex in sendcmd() to access GPU registers.
CRs-Fixed:
1024730
Change-Id: Ifa5e9d3f892301685cb48a227ce4967d895499b1
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Deepak Kumar [Tue, 7 Jun 2016 10:02:15 +0000 (15:32 +0530)]
msm: kgsl: Correct dma_buf_get function return value check
Check the return value of dma_buf_get function using
IS_ERR_OR_NULL as dma_buf_get function can return
ERR_PTR(-EINVAL) which won't be caught by simple NULL
check. This will avoid kernel panic due to invalid
pointer access.
CRs-Fixed:
1008517
Change-Id: I11ebf618edd25a251d3fb8bb7fbbb886e10d788f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Harshdeep Dhatt [Wed, 11 May 2016 21:29:38 +0000 (15:29 -0600)]
msm: kgsl: Correct the size of SDS in snapshot
Dump 256 instead of 128 dwords of SDS as DRAW_STATE_ADDR is
actually 8 bits wide [7:0] and not 7 bits wide [6:0].
CRs-Fixed:
1023608
Change-Id: I8dcb07bf0a3b9e91b6ec7396d89239fdbd548ac0
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Harshdeep Dhatt [Wed, 25 May 2016 17:47:33 +0000 (11:47 -0600)]
msm: kgsl: Add vbif version for A540
A540 has a new vbif version. Add it so that we can
dump vbif registers in snapshot for A540.
CRs-Fixed:
1024192
Change-Id: Id9323fa98951e2755fcc6903f84a450bc7ab6169
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Harshdeep Dhatt [Tue, 24 May 2016 21:04:31 +0000 (15:04 -0600)]
msm: kgsl: Add A5XX_UCHE_DBG_ECO_CNTL_2 to snapshot
Add the register to be dumped in a5xx snapshot.
CRs-Fixed:
1024179
Change-Id: I316029caa10047828375ae0eab1f1d35d30fccb6
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Hareesh Gundu [Mon, 23 May 2016 06:02:18 +0000 (11:32 +0530)]
msm: kgsl: Reduce CP preemption record size
A5xx GPUs currently don't need more than 64KB for
CP preemption record.
CRs-Fixed:
1019529
Change-Id: I3df22b7b282fb8ff3269f01b2b258318fc83cbcb
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Harshdeep Dhatt [Wed, 11 May 2016 15:47:08 +0000 (09:47 -0600)]
msm: kgsl: Add array of page pointers to memdesc
This is done to improve the kgsl vmfault routine. Currently,
it traverses the sglist to find the faulted page, which takes
linear time. By having an array of all the page pointers,
this operation will be completed in constant time.
Also, allocate sgt only for mapping this memory to the GPU.
Since this optimization is not needed for secure/global or
imported memory, we will not keep this array but keep
the sgt instead.
CRs-Fixed:
1006012
Change-Id: I221fce9082da0bdd59842455221b896a33a6ce42
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Deepak Kumar [Mon, 16 May 2016 08:22:10 +0000 (13:52 +0530)]
msm: kgsl: Don't allocate memory for microcode if it is already allocated
This change adds a check to avoid allocating memory for loading microcode
in case it is already allocated. This avoids memory allocation failure
for microcode during multiple tries by userspace to open the kgsl device
in case of errors.
CRs-Fixed:
1043490
Change-Id: I018ebdb0dab1fc13af8d85a273c1c8b477fa1e26
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
George Shen [Wed, 4 May 2016 01:23:22 +0000 (18:23 -0700)]
msm: kgsl: track GPU active time per frequency
Tracks GPU active time per frequency for GPU workload
profiling. The data will be output in
/sys/class/kgsl/kgsl-3d0/gpu_clock_stats
with one u64 value in microseconds per clock level.
For example:
cat /sys/class/kgsl/kgsl-3d0/gpu_clock_stats
39392 29292 929292 929292
4040404
CRs-Fixed:
1011462
Change-Id: I5f2caa8b38d99ffd23f03c1dfed1efda273fc2fb
Signed-off-by: George Shen <sqiao@codeaurora.org>
Bingzhe Cai [Tue, 16 Jul 2013 09:57:37 +0000 (17:57 +0800)]
input: touchpanel: Goodix GT915 driver cleanup
Code clean up that makes the driver more like a linux driver.
Add some error recovery to make sure driver will not crash when
error is occurs. Also have cleared the checkpatch errors on 4.4.
This patch is propagated from 3.4 kernel 'commit
c2fcdcda743f
("input: touchpanel: Goodix GT915 driver cleanup")'
Change-Id: I3af425f5f0251ec576168f72a2059f85c3be4358
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
[abinayap@codeaurora.org: Fix checkpatch errors for 4.4 kernel
- check for sizeof(p_cfg_grp)/sizeof(p_cfg_grp[0]) that could
be ARRAY_SIZE(p_cfg_grp)
- check for sizeof(touch_key_array)/sizeof(touch_key_array[0])
that could be ARRAY_SIZE(touch_key_array)
- Comparisons should place the constant on the right side
of the test]
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
Linux Build Service Account [Wed, 3 Aug 2016 11:58:55 +0000 (04:58 -0700)]
Merge "qseecom: Change format specifier %p to %pK"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:54 +0000 (04:58 -0700)]
Merge "msm: mdss: hdmi: send info frame for HDR video streams"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:50 +0000 (04:58 -0700)]
Merge "input: touchscreen: Change touch driver suspend code flow for XO shutdown"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:50 +0000 (04:58 -0700)]
Merge "input: touchscreen: correct probe error path for ITE tech driver"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:48 +0000 (04:58 -0700)]
Merge "ASoC: wcd-spi: SPI driver for WCD audio codecs"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:47 +0000 (04:58 -0700)]
Merge "wcd_dsp_mgr: Add the WCD DSP manager driver"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:46 +0000 (04:58 -0700)]
Merge "msm: ipa: fix IPA driver processing context delete logic"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:45 +0000 (04:58 -0700)]
Merge "msm: ipa: disconnect sequence change for USB 2.0"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:39 +0000 (04:58 -0700)]
Merge "serial: msm_serial_hs: Modify IPC Logging"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:38 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Remove TSENS QFPROM address and slope data"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:37 +0000 (04:58 -0700)]
Merge "thermal: tsens: Update TSENS property for reading efuse data"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:36 +0000 (04:58 -0700)]
Merge "msm: ipa: fix multiple static analysis issues"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:35 +0000 (04:58 -0700)]
Merge "power_supply: add CHARGER_TEMP and CHARGER_TEMP_MAX properties"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:34 +0000 (04:58 -0700)]
Merge "qcom-charger: qpnp-smb2: End charge cycle while battery is OV"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:33 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Update frequency to MEM ACC level mappings for MSMCOBALT"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:32 +0000 (04:58 -0700)]
Merge "spmi: pmic-arb: correct support for up to 512 APIDs"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:31 +0000 (04:58 -0700)]
Merge "usb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify"