summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2018-10-09Merge "msm: mdss: dsi: fix slab-out-of-bounds issue"Linux Build Service Account
2018-10-09Merge "ARM: dts: msm: enable dynamic bit clock for SDM660 MTP panel"Linux Build Service Account
2018-10-09Merge "soc: qcom: subsystem_notif_virt: Add a NULL check and fix a data type"Linux Build Service Account
2018-10-09Merge "msm: kgsl: Add a property to find if secure context is supported"Linux Build Service Account
2018-10-09Merge "usb: misc: Add USB_QCOM_IPC_BRIDGE config"Linux Build Service Account
2018-10-09Merge "soc: hab: refine codes to support multi import"Linux Build Service Account
2018-10-08soc: qcom: subsystem_notif_virt: Add a NULL check and fix a data typeAnant Goel
A NULL pointer check is added to prevent a NULL pointer exception. A data type is fixed to prevent a type conversion before an error check. Change-Id: If4f6f70c8770ad48432e466e1b6a7e9bf4b62258 Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-10-08msm: kgsl: Add a property to find if secure context is supportedSunil Khatri
Add a property to determine if a target support secure context for use cases like CPZ. This property can be used by userspace application to create a secure context if its supported on the target. Change-Id: I1ccc824378fb8fbd2cfbc7b811c6c3fdcd17803e Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
2018-10-08msm: kgsl: Add a property to find alignment of secure buffersSunil Khatri
Add a property to determine the hardware alignment constraint on secure buffers. XPUv2 and below have a minimum requirement of 1 MBytes alignment and hence driver should allocate memory with minimum alignment on size. Change-Id: Ie3ca5da489bc94ae57ddc6695e402463fd7a88c2 Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
2018-10-07soc: hab: refine codes to support multi importYajun Li
Make HAB clients have chance to import the same export id to fd and uva before unimport happens. Change-Id: I59fdc701dcdc086e58865fa216b10f9fe6a45e29 Signed-off-by: Yajun Li <yajunl@codeaurora.org>
2018-10-07soc: qcom: hab: fix the leak risk in hab_vchan_getYao Jiang
When getting a vchan after receiving a message, it has probability that this vchan is closed concurrently. So when refcount is increased by kref_get_unless_zero, but flag vchan->otherend_closed or vchan->closed is true at this time, it will return vchan as NULL, and the hab_vchan_put will not be called in hab_msg_rev. So adjust the timing here can avoid the leak risk. Change-Id: If78c1c41bc4fd05b3288c0324bb9e0aed8493c5f Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
2018-10-07soc: qcom: hab: replace kref_get with kref_get_unless_zeroYao Jiang
If refcount was 0 before increment, it maybe has a race condition that this kref is freeing by some other thread right now. In this case we should not increments refcount, so replace with kref_get_unless_zero. Change-Id: Ic15eaefc111770a966094d05b19eca2a04d52fc2 Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
2018-10-06Merge "Merge android-4.4.158 (f9e4134) into msm-4.4"Linux Build Service Account
2018-10-06Merge "clk: qcom: mdss: avoid release of the dynamic fps PLL code memory"Linux Build Service Account
2018-10-05Merge "msm: ipa: Protect ipa default routing table"Linux Build Service Account
2018-10-05Merge "dwc3: Preserve TxFIFO of IN/INT EP for UDC without tx-fifo-resize"Linux Build Service Account
2018-10-05usb: misc: Add USB_QCOM_IPC_BRIDGE configAjay Agarwal
Add USB_QCOM_IPC_BRIDGE config which is required to enable MSM_IPC_ROUTER_HSIC_XPRT config. Change-Id: I78f4aeea5f392f76f80410aaff0d5f72760e2494 Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-10-05clk: qcom: mdss: avoid release of the dynamic fps PLL code memoryPadmanabhan Komanduru
Avoid the release of memory for dynamic fps PLL codes. The memory is part of the continuous splash memory region and will be freed eventually as part of the splash screen memory cleanup routine. Change-Id: I67afb46057770298668ae5790637e8b4b08fd030 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2018-10-05msm: mdss: dsi: fix slab-out-of-bounds issueNarender Ankam
While handling dsi_gen_read_status, status buffer was xlogging without checking for its max size. Add proper conditional check to xlog status buffer. Change-Id: Ia5a1fe18de123d2911c31ae79492b96f67e1273d Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2018-10-05Merge "mdss: mdp: Fix access after null check"Linux Build Service Account
2018-10-05Merge "drm: msm: update cpu1 hotplug by using cpu_device node"Linux Build Service Account
2018-10-05Merge "mdss: mdp: Add error check for split ctl"Linux Build Service Account
2018-10-04Merge "ion: Ensure non-HLOS memory cannot be mapped by CPU"Linux Build Service Account
2018-10-04Merge "fbdev/msm: sanitize debugfs inputs when reading mdp memory"Linux Build Service Account
2018-10-04Merge "drm/msm: add checksum for HDR infoframe"Linux Build Service Account
2018-10-04msm: ipa: Protect ipa default routing tableMohammed Javid
Protect ipa default routing table from addition, deletion and modification once after default rule added by ipa-driver. Change-Id: I045d9c29fed23edf796d826e440b81124e1f666a Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-10-03Merge "cnss2: Add support for genoa pcie"Linux Build Service Account
2018-10-03Merge "soc: qcom: hab: fix the soft lockup in vchan free schedule"Linux Build Service Account
2018-10-03Merge "soc: hab: change lifecycle of exp_id from vchan to ctx"Linux Build Service Account
2018-10-03Merge "soc: hab: fix mmap failure issue when hab import"Linux Build Service Account
2018-10-03Merge "pinctrl: qcom: Add UFS_RESET pin data for sdm660"Linux Build Service Account
2018-10-03Merge "dwc3: resize txfifo of IN/INT endpoint before enabling it"Linux Build Service Account
2018-10-03Merge "Merge android-4.4.157 (c139ea66) into msm-4.4"Linux Build Service Account
2018-10-03Merge "Merge android-4.4.156 (7eb7037) into msm-4.4"Linux Build Service Account
2018-10-03Merge "drm/msm: add additional HDR state transition"Linux Build Service Account
2018-10-03Merge "clk: qcom: mdss: add support for dynamic refresh on DSI 14nm PLL"Linux Build Service Account
2018-10-03Merge "drm/msm: clear colorimetry block info for HDMI"Linux Build Service Account
2018-10-03Merge "msm: vidc: copy the crop info during dequeue buf"Linux Build Service Account
2018-10-03Merge "usb: dwc3-msm: Release PM wakelock in host mode only for auto targets"Linux Build Service Account
2018-10-03drm/msm: add checksum for HDR infoframeAbhinav Kumar
Checksum for the HDR infoframe is set to zero by default as this is not a mandatory field as per the HDMI spec. However certain HDMI sinks still expect a non-zero checksum. Otherwise they disregard the infoframe and the sink does not enter HDR mode despite other fields of the infoframe being valid. Add a valid checksum to the HDR infoframe to improve interoperability of our HDR solution for HDMI. Change-Id: Ie826e5e637fc1f053203bdcf6a829d0246a9ed67 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2018-10-03soc: qcom: hab: fix the soft lockup in vchan free scheduleYao Jiang
With a certain probability soft lockup when do hab vchan free schedule. one vchan do the local hab close while another vchan in the same context through softirq also try to acquire write lock in the free schedule at the same time, it will cause watchdog bite. Disable local softirq could avoid race condition handling between tasklet and process context. Change-Id: I4ee9b980dab7ecb1986af1d61f70157fc30d1048 Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
2018-10-03cnss2: Add support for genoa pcieJayachandran Sreekumaran
Add genoa pcie specific qmi and power up/down handling. Change-Id: I08e640f775de5436071b457225a8b61f13574d01 CRs-fixed: 2272303 Signed-off-by: Jayachandran Sreekumaran <jsreekum@codeaurora.org>
2018-10-02drm/msm: add additional HDR state transitionAbhinav Kumar
Add an additional HDR state transition to cover the HDR teardown sequence case. This will avoid the HDR infoframe to be programmed repeatedly if there is no change in its contents. Change-Id: Ic2f077f0c2ff01e19db5a59b218c4d824e039773 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Navid Bahrani <nbahrani@codeaurora.org>
2018-10-02ion: Ensure non-HLOS memory cannot be mapped by CPULiam Mark
Currently it is possible for an ION client to allocate non-HLOS memory (ie memory which isn't assigned to the HLOS vmid), map this memory, and then attempt to access this memory from the CPU. Attempting to access non-HLOS memory from the CPU will cause a stage-2 fault. Fix ION so that non-HLOS memory cannot be mapped by the CPU. Change-Id: Ifb51de2eabc076cddc744c13f01ef97b4a7c6874 Signed-off-by: Liam Mark <lmark@codeaurora.org>
2018-10-01pinctrl: qcom: Add UFS_RESET pin data for sdm660Srinivasarao P
UFS_RESET is a single purpose output only pin which can be used to send reset to connected UFS device. This change adds UFS_RESET pin data. Change-Id: I539ae2bef003bccf8aa9c23fb5dde0b263844629 Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2018-10-01msm: mdss: add support to switch the DSI clock dynamicallyPadmanabhan Komanduru
Add change to support changing the DSI bit clock dynamically for video mode panels. This helps to avoid interference of DSI clock with other subsystems runtime. Change-Id: I05790a6dd9d8a2fc3cf31727d032e5220d6164e5 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2018-09-29dwc3: Preserve TxFIFO of IN/INT EP for UDC without tx-fifo-resizeAjay Agarwal
We are clearing existing allocated TxFIFO during set_config even if a controller does not have tx-fifo-resize flag set in the DT. Also we do not resize the FIFOs for such controller. As a result, the FIFO depths for the IN/INT EPs (excpet 0 IN) of the controller are 0 and it cannot work in device mode. Fix this issue by not clearing the default TxFIFO if tx-fifo-resize flag is not set. Change-Id: I5cf7d2eb017b8ed55348e578c10856d62a3e282e Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-09-29USB: dwc3: gadget: Fix TxFIFO resizing logicAjay Agarwal
The TxFIFO RAM start address for some USB controller might be non-zero. The current FIFO resizing logic in place always considers that this start address is 0x0000 and writes the RAM start address for subsequent TxFIFOs with the last FIFO depth only, leading to the controller not functioning properly. To make the controller work, start address of GTXFIFOSIZ(#n) should be written with the start address of GTXFIFOSIZ(0) + last FIFO depth. Fix the resizing logic accordingly. Change-Id: Ia83edef7165b980828f2a43832493be2349ae0dc Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-09-29dwc3: resize txfifo of IN/INT endpoint before enabling itMayank Rana
USB IN/INT endpoint stalls when performing TX FIFO resize functionality when IN/INT endpoint is already active i.e. usb endpoint is enabled and usb request is pending with it. Fix this issue by making sure that TX FIFO resize is performed before enabling endpoint which shall happen after set_alt(1) and before any function queues request with its allocated USB endpoint. CRs-Fixed: 2039310 Change-Id: I13a590f87ab8492f7c95a15b2da9f00c9c63c4f9 Signed-off-by: Mayank Rana <mrana@codeaurora.org> Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-09-28msm: vidc: copy the crop info during dequeue bufParas Nagda
User-space expects the crop data to be notified from the driver as it was done in kernel 3.16 as part-of reserved field of v4l2planes. On 4.4 kernel, as the v4l2planes are removed this change is required for indicating the crop info to user client. Change-Id: I065e514cdd45bfe17206e0e18416a2313bc6a344 Signed-off-by: Paras Nagda <pnagda@codeaurora.org>