Commit graph

892,914 commits

Author SHA1 Message Date
Harshdeep Dhatt
9786a5702b msm: kgsl: Dispatch submissions using hwscheduling
Add support for registering a context and sending
submissions to a single dispatch queue.

Change-Id: Ica16d8f54d5fa9bd0e416976224f24f7fca0884b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-02 10:16:37 -06:00
Harshdeep Dhatt
bf1d7d92f8 msm: kgsl: Add asynchronous processing of acks
This adds the initial bits of handling acks asynchronously.
It is assumed that there is only one outstanding ack since we
wait for ack while holding the device mutex.
GMU handles acks inline until start_msg hfi and beyond that,
each hfi will be acked asynchronously.

Change-Id: I15e930d22f1154db377599a0c0409640821fb868
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-02 10:16:36 -06:00
Harshdeep Dhatt
fbe170edac msm: kgsl: Allow sending CP INIT via GMU
This change adds support to send CP INIT and switch to
unsecure mode packets via raw packets to GMU.

Change-Id: I2915b217c9c6c7d6dc624b4349d137df9a7a2c80
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-02 10:16:36 -06:00
Harshdeep Dhatt
dde333681c msm: kgsl: Add memalloc hfi support
Allocate gpu globals based on memalloc hfi requests. Map
them in gmu as well.

Change-Id: I43ecfedf5be92e39fd079a00f8311fe6aca7191b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-02 10:16:35 -06:00
Harshdeep Dhatt
9e3803d654 msm: kgsl: Add the hwsched platform driver
This adds the skeleton for the hwsched driver to be
used for dispatching submissions using hwscheduling.

Change-Id: I963fe6b16deb58edab78ab0e9c66fae0d9294b9a
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-02 10:16:26 -06:00
Jeevan Shriram
054b210d81 ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added
function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added
variable

1 Added function:

  [A] 'function void wireless_send_event(net_device*, unsigned int,
  iwreq_data*, const char*)'

Bug: 167482009
Change-Id: Ic21292217d9a20d8eb9128f8908816d8a4d8e084
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-02 15:54:03 +00:00
qctecmdr
1f8ff78eb8 Merge "power: qpnp-qg: Add support for SMB-sensing for SMB1395/6" 2020-09-02 08:39:50 -07:00
qctecmdr
9cd8b991b3 Merge "interconnect: qcom: Enable QoS for Holi" 2020-09-02 08:39:50 -07:00
qctecmdr
f161e424eb Merge "soc: qcom: secure_buffer: Add support for qcom,vmid-cp-camera-preview-ro" 2020-09-02 08:39:50 -07:00
qctecmdr
24066f28ba Merge "msm: kgsl: Drive FAL QACTIVE signal high before GMU boot" 2020-09-02 08:39:49 -07:00
qctecmdr
b6a8be3cf5 Merge "msm: kgsl: Add handler for GPC interrupt on A6xx GPU" 2020-09-02 08:39:49 -07:00
qctecmdr
3ad46ada50 Merge "iommu/arm-smmu: Remove [alloc/free]_pages_exact usage" 2020-09-02 08:39:48 -07:00
qctecmdr
4d8585f354 Merge "msm: kgsl: Add gpu_frequency trace during SLUMBER entry and exit" 2020-09-02 08:39:48 -07:00
qctecmdr
ed0ed35925 Merge "arm64: defconfig: Enable CONFIG_QCOM_QFPROM_SYSFS on Lahaina/Shima" 2020-09-02 03:12:22 -07:00
qctecmdr
4d6ca247d9 Merge "kgsl: msm: Correctly check hardware idle status for a619_holi target" 2020-09-02 03:12:22 -07:00
qctecmdr
5a2a2bcdf9 Merge "icc: dt-bindings: Update endpoint IDs for interconnects for HOLI" 2020-09-02 03:12:21 -07:00
qctecmdr
903b8756f2 Merge "power: smb1398: Update win-uv threshold to 10mV" 2020-09-02 03:12:21 -07:00
Ashish Chavan
7b32e9aedf power: smb1398: Update win-uv threshold to 10mV
When VIN/2 – VOUT < the threshold with debounce time,
WIN_UV protection kicks in. Update this threshold to
10mV.

Change-Id: I015528b9fb1e4db86c4e1af186aa0f6a912967f2
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-02 01:45:49 -07:00
Ashish Chavan
a4f06c51fc power: smb1398: Do not disable FP_FET during IREV condition
Allow the charger to recover after a momentary IREV condition
by using the configuration-bit to not-disable FP-FET in IREV.

Change-Id: I22cad3bbc4bde0a143e3ff6e068e750a2c40e34b
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-02 01:44:51 -07:00
Odelu Kukatla
d7f363db50 interconnect: qcom: Enable QoS for Holi
Enable QoS for the master ports on Holi with predefined
values for priority and urgency.

Change-Id: I0b0233ff72bf88ae1597592bd6bdd08e1ccfa006
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-09-02 13:25:04 +05:30
Odelu Kukatla
9bd285b662 icc: dt-bindings: Update endpoint IDs for interconnects for HOLI
Update the master and slave ID constants for Holi interconnect
providers which consumers can use to set bandwidth constraints
and find paths in the NoC (Network-On-Chip) topology.

Change-Id: Ibba6b5ca47a56c041f1314eb516e62d3b9291573
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-09-02 13:23:34 +05:30
qctecmdr
836b649ab2 Merge "msm: adsprpc: send non-zero message PID for process kill message" 2020-09-02 00:22:31 -07:00
qctecmdr
e361eb5def Merge "soc: altmode: Add correct notify message length check" 2020-09-02 00:22:31 -07:00
qctecmdr
4602f8e6de Merge "PM / devfreq: qoslat: add support for multiple clients" 2020-09-02 00:22:31 -07:00
qctecmdr
444bd5e92e Merge "clk: qcom: clk-debug: Detach the clock request from syscon regmap" 2020-09-02 00:22:30 -07:00
qctecmdr
f6afabd1e2 Merge "mhi: core: Extend mhi_device_get_sync_atomic() for panic cases" 2020-09-02 00:22:30 -07:00
qctecmdr
633c0a1c6d Merge "drivers: lpm-levels: Update the RIMPS register pasring from DT" 2020-09-02 00:22:29 -07:00
Himateja Reddy
05d68d5052 msm: adsprpc: block untrusted apps from creating multiple sessions
Do not allow untrusted apps to create multiple remote sessions.

Change-Id: Ie5e143099b3e546c7423c9dae1256a9e3fc4d76c
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-09-01 22:44:35 -07:00
xigualu
e5cd7b281b input: touchscreen: synaptics_dsx: add new touch driver
This is the reference driver source code for Synaptics touch driver.

Change-Id: Id35f12526ba8d8dfe114a0ec337060e7df9877bb
Signed-off-by: xigualu <luxh0702@thundersoft.com>
Git-commit: 648ee265de0dc2d852719b730fd1dfab153f7f55
Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/commit/?h=Synaptic_dsx
Signed-off-by: Xin Hua Lu <luxinhua@codeaurora.org>
2020-09-01 21:48:11 -07:00
qctecmdr
efd7f5d40d Merge "msm: kgsl: Add support for split pagetables" 2020-09-01 21:42:14 -07:00
Sudarshan Rajagopalan
dc00b6d99a proc/meminfo: include offlined region for mem total
When memory block is logically offlined, it is still part of System RAM
but is inactive, and can be made active or Onlined anytime. Though from
the perspective of kernel which is giving the “current usable memory in
the system" info to userspace via MemTotal, when active-mode memory
onlining is enabled, the offlined blocks can be onlined when there is
memory pressure (on demand) and thus can be added as part of total
available memory in the system.

Change-Id: I3d6acbe5b05c33c60ac3f1346977f5a72e4d5897
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2020-09-01 20:44:41 -07:00
qctecmdr
b5b61d0f51 Merge "power: qpnp-qg: Fix the sleep_length value in process_suspend" 2020-09-01 17:18:54 -07:00
qctecmdr
ffcae92e17 Merge "defconfig: lahaina-gki: enable QPNP PBS driver" 2020-09-01 17:18:54 -07:00
qctecmdr
7886690ee9 Merge "mmc: sdhci-msm: Add support for ice core clock" 2020-09-01 17:18:53 -07:00
qctecmdr
c99ee572a3 Merge "mmc: sdhci-msm: Calculate timeout value based on the base clock" 2020-09-01 17:18:52 -07:00
qctecmdr
ca144bfa19 Merge "msm: kgsl: Use a token address for memstore" 2020-09-01 17:18:52 -07:00
Amir Vajid
a5041de2a6 PM / devfreq: qoslat: add support for multiple clients
Add support for multiple clients in qoslat by maintaining a
list of devices and aggregating across them during updates.

Change-Id: I3e9970b324938eecdd85f3970ba3acc2c5880fdf
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2020-09-01 16:09:59 -07:00
Himateja Reddy
b76e246359 msm: adsprpc: send non-zero message PID for process kill message
Currently, since remote process kill is a kernel RPC call, a zero
pid is sent in its message. Send the actual HLOS pid for the
process kill message so that the remote subsystem can identify
which process to kill without needing to map the arguments.

Change-Id: I14c13194baa231a892ed9e8ee269a8cdb1710211
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-09-01 16:02:59 -07:00
qctecmdr
8295c46e6b Merge "msm: kgsl: Add GPU minimum bandwidth vote state" 2020-09-01 14:37:03 -07:00
qctecmdr
55ab5d8dd6 Merge "interconnect: qcom: Add QoS config support for BIMC masters" 2020-09-01 14:37:03 -07:00
qctecmdr
7c4e91c5a8 Merge "build.config: Add qnoc-qos.ko module for Lahaina" 2020-09-01 14:37:02 -07:00
Isaac J. Manjarres
d15cd346f9 soc: qcom: secure_buffer: Add support for qcom,vmid-cp-camera-preview-ro
Add support for the qcom,vmid-cp-camera-preview-ro. This property
ensures that buffers for VMID_CP_CAMERA_PREVIEW are mapped with
read-only access.

Change-Id: I484e4c48965d5920e395de7958ae8c102947722d
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-09-01 12:06:49 -07:00
qctecmdr
9c40e1ec65 Merge "clk: qcom: debugcc: Update clk measure for gcc clocks for HOLI" 2020-09-01 11:50:48 -07:00
qctecmdr
4be07d0844 Merge "power: supply: qti_battery_charger: Change wireless power supply type" 2020-09-01 11:50:48 -07:00
qctecmdr
e2d2f0e595 Merge "Merge android11-5.4.60+ (22550de) into msm-5.4" 2020-09-01 11:50:48 -07:00
Jordan Crouse
0c294ef2ff msm: kgsl: Add support for split pagetables
Attempt to enable split pagetables on the global and LPAC domains.
If successful we no longer need to map globals in all pagetables and we
don't need to manually return to the default pagetable when coming out
of slumber since all the globals will now live in the always on TTBR1
region.

Change-Id: Ic0dedbaddd7d05299d7e85d7b0bbc96b46dad10e
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-09-01 12:33:50 -06:00
Raghu Ananya Arabolu
a3e0f7fe0a msm: kgsl: Toggle loop_en while disabling gx gdsc
When all sensors on GFX rail are bypassed/clamped in a certain window
after voltage settling it could cause CPR measurements to stall.
Toggle the loop_en bit, across disabling the gx gdsc, with a delay of
10 XO cycles before disabling gx gdsc.

Change-Id: I44ada515066c601a34f10993677195502fc9e341
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
2020-09-01 11:33:13 -07:00
Jordan Crouse
3ba19ae965 msm: kgsl: Use a token address for memstore
The user maps the memstore using the GPU address of the shadow memory.
Unfortunately, mmap() only uses a unsigned long which means that 32 bit
applications can handle when TTBR1 is enabled and the memstore is in
very high memory.

Instead of passing the real GPU address pass a dummy 32 bit value and use
that to identify the memstore instead.

Change-Id: Ic0dedbaddd6efda305953b20cfaa4a597020bff9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-01 12:32:38 -06:00
Mayank Rana
7285da7914 USB: Move MBIM interface related IOCTLs definition to uapi directory
USB GSI driver has set of IOCTLS supported specific for MBIM interface.
QBI daemon is duplicating those IOCTLs definitions. Hence move those
IOCTLs definition into uapi based .h file. So QBI and QMUX bridge
daemon can use it and doesn't need to duplicate it. This change also
adds new IOCTL which allows both daemon to query USB cable status when
USB MBIM and USB GPS interfaces are part of USB composition.

Change-Id: I4b392db7877b78ca21465a463aa5fb3c74087fc3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2020-09-01 11:10:11 -07:00
Qiwu Huang
72a8e256c3 FROMLIST: power: supply: core: property to control reverse charge
Interface to control wireless reverse charge.

Bug: 159767865

Signed-off-by: Qiwu Huang <huangqiwu@xiaomi.com>
Link: https://lore.kernel.org/lkml/d2a4960e5641c4360a9360f438669ec03a2c3d0d.1598349907.git.huangqiwu@xiaomi.com/
Change-Id: Iddf4a9efe23180750c8f82709da659a1cf50ff0d
2020-09-01 17:57:03 +00:00