An older accidentally changed this to executable, so fix it back up.
Gotta love windows editors...
Change-Id: I6a142f3506dcccdb35f56e8e27fe7706321882ac
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: f75baf8d90bf45221694a1a5f0e5acdcb3245760
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Enable CONFIG_MMC_CQ_HCI to support command queue
mode for sdm660.
Change-Id: I72d1ae5a743e1fa7b171e9556cbf261321a0fa87
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Add sdhc2 support to enable sdcard for
sdm660.
Change-Id: I7038590135bef2981735156a18c3104b0fc9f709
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Add sdhc1 to support eMMC for sdm660 mtp and
cdp platforms. Also add some missing device
properties for sdm660 simulator and rumi platforms.
Change-Id: I4bea35ebea8e710d82724a3d5098d952b71875f4
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
For commit 44aa223a3e ("clk: move check for CLK_ENABLE_HAND_OFF at
unused tree") at unused tree level, prepare and enable counts are
only decrementing for handoff enabled clock(having CLK_ENABLE_HAND_OFF
flag) and counts are not decrementing for their parent clock.
So fixing the same by adding clk_core_unprepare/disable at unused tree
level for handoff enabled clocks so that parent handoff counts also
gets decrement.
Change-Id: Ib238540b2addbe8c9ff7f2e34428169c76e3f44b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Modify the driver to support the new lab/ibb
hardware changes supported on PM660A.
New hardware supports the following features:
1) Smart pulse skip mode
2) LDO mode for LAB
3) PFM mode
4) PBS sequencer handling SWIRE decoding
5) Default output voltage configuration
Change-Id: I5461995cc0ac930dd354c63b97223085306e869d
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
In polling mode, driver is using the top level busy and
error status for completion check. This is not correct
for regdma because it has separate status register and
software timestamp. This patch corrects regdma to wait
for the appropriate status register and checks for software
timestamp for timeout.
CRs-Fixed: 1096834
Change-Id: I18f8ab14be1db4d24954115b763e6ac749b71b4d
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
Signal retire fence on first vsync after frame has been programmed to
hardware. This indicates when the frame starts being fetched by
MDSS hardware.
CRs-Fixed: 1081525
Change-Id: Ib69f64ff17a1609b67ff34ef277f658bfa5cfb5a
Signed-off-by: Adrian Salido <salidoa@google.com>
(cherry picked from commit 80d5d7558ac98c56527cb1040dab3fc5f438ab51)
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Just wait for the display to idle instead and immediately start
the next commit. This reduces the depth of the commit pending
queue.
CRs-Fixed: 1081525
Change-Id: Ic4ee6f738f5fa77890e806b55d9a0304915761ea
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
GPU subsystem in sdm660 is supplied by either LDO300(VDD_GFX) in
LDO mode or VDD_CX in BHS mode. This LDO300 is CPR managed and supports
CPR closed-loop operation. Add CPR device node with required configuration
for supporting CPR closed-loop operation for sdm660.
CRs-Fixed: 1068294
Change-Id: Id12a50563f6cef196ef76816fcf8e177b9a3fa97
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
This patch frees up the dynamically allotted memory
when met with error condition and function return.
CRs-Fixed: 1106180
Change-Id: I01446fbdbb422dcb025ee50929b32f40a5a78681
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Presently we read a length of 80 character to dump subsystem
crash reason in case of err fatal on subsystem. Making it 130
character to dump additional info provided by subsystem.
CRs-Fixed: 1083000
Change-Id: Icaf4c27862984148c7125332ef7531b2a61f4ea2
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
This patch addresses the scheduling conflicts of
control channel removal work by listening
to peripheral events.
CRs-Fixed: 1081265
Change-Id: Ib9f2448e564c4800535bd80d13c9bda5cc283c3c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
In certain cases, an RCG might be prone to being enabled even
though the overlying software thinks that it disabled the RCG.
In order to avoid letting the RCG go into an invalid state, support
parking it at a safe frequency during clk_disable() and deferring
all the RCG configuration updates to be done during clk_enable(),
if a scaling request comes in whilst the clock is disabled.
Change-Id: I55f1d1d346182a2b480127c57d6659fc9a63331b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Add support for P010 ubwc format in media buffer size
calculation API.
Change-Id: I3e99bb37ff3353b77dc1aa892ca017a7af28ec00
Signed-off-by: Rohit Kulkarni <rkulkarn@codeaurora.org>
Update the code name from msmtriton/apqtriton to sdm630/sda630.
As part of this, update the filename containing "triton" and
files content containing "triton".
Change-Id: Ia558be75041e41e83d304d5fb4091c2a098e87c0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Update the code name from msmfalcon/apqfalcon to sdm660/sda660.
As part of this, update the filename containing "falcon" and
files content containing "falcon".
Change-Id: Iec85862251b9e1b4dcc8bdce8b214ce87c0049bc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
During reset sequence it is seen that device is generating an
interrupt eventhough interrupts are masked at device level.
Add workaround to disable the interrupts from host side during
reset and clear any pending interrupts before re-enabling
the interrupt.
CRs-Fixed: 1105834
Change-Id: Iea5b8a047908ed722a03c7838cd373718828bcc4
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Allow to read debug regs set by SPSS kernel or SPSS app.
This is a very basic and minimal debug info.
Change-Id: Id27886390caab5ff308a8423f3e65eb93fd1175d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Print the command instead of the printing ioctl ptr to avoid
information disclosure
CRs-Fixed: 1105663
Change-Id: I862a0a502c60519a864cfe12aacf7840ae094c1c
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
On 32 bit architecture xpu violations are happening because of mappings
in PK map regions. Flush the PKMAP and fixmap mappings to make sure that
there are no duplicate mappings for any pil mdt region. On 64 bit
architecture these functions are empty.
Change-Id: Ie69fcf9044a89328e91ff8969044835f2a487a10
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Suspend is set on Q6 pipes in PRE_SHUTDOWN phase of SSR. It was seen that
sometimes the suspend is being removed and is no longer present during the
POST_SHUTDOWN phase. Therefore, set suspend in POST_SHUTDOWN phase again.
Change-Id: Iebbef315a838b40eec939f368e63c4329723d906
CRs-Fixed: 1094908
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Currently the XPU lock on memory allocated for memshare clients may not be
unlocked by MBA during SUBSYS_RAMDUMP_NOTIFICATION event and can result in
XPU violation while collecting ramdump.
This patch collects the ramdump on listening to SUBSYS_BEFORE_POWERUP
event.
CRs-Fixed: 1099029
Change-Id: I51732d5adc60ad106a44ba554818c18947e2e803
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
This patch adds syfs parameter which controls clearing
of the peripheral masks upon USB disconnect and stopping
ODL.
This patch takes proper care for handling buffers
while clearing masks.
CRs-Fixed: 1081142
Change-Id: Ibe070661618258513d683bfec13ff10f23bee5d6
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>