Allowing the MDP clock to use its Max clock in order to avoid the blt
mode switch issues for both MDP mixers, as blt mode switch resulting
in HW hung
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
The select...to kill messages are not very useful when not debugging
the lowmemorykiller itself. After the change to check TIF_MEMDIE
instead of using a task notifer this message can also get very
noisy.
Change-Id: Ice171c25801d6faa454b885a23b24b002423b754
Signed-off-by: Arve Hjønnevåg <arve@android.com>
The amount of reserved memory varies between devices. Subtract it
here to reduce the amount of devices specific tuning needed for the
minfree values.
Change-Id: I466ae8b18f5972f6f6d8b5a7d8c4ae69660de53a
Signed-off-by: Arve Hjønnevåg <arve@android.com>
The conversion to use oom_score_adj instead of the deprecated oom_adj
values breaks existing user-space code. Add a config option to convert
oom_adj values written to oom_score_adj values if they appear to be
valid oom_adj values.
Change-Id: I68308125059b802ee2991feefb07e9703bc48549
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Non-secure session should be rejected if a secure session is
running.
Change-Id: I13364a7bc4417a682728be333681278e7de8a1f7
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Overlay_play() adds a pipe into pending queue and pan_display()
will commit those pipes to hardware and empty queue. This patch
will make sure queue is empty at suspend so that no unexpected
pipes will be commited to hardware by pan_display() at resume.
Otherwise, iommu page fault may happen.
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
HDCP authentication should be kicked off as a scheduled work
item so as to ensure that MDP is already configured and frames
are being transmitted over the HDMI channel prior to the start
of the HDCP authentication procedure.
Change-Id: I27cab44babfc24d91a318b0641674f85910cc33f
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>
git://codeaurora.org/external/wlan/prima.git
d29fa4c wlan: Release 3.2.1.6
b074dbb Fix for setting properly the AC mask for TxConn
a66ea5c Stop scan refresh timer while resetting report scan state
5eb765b Set RoamRssiDiff=0 to disable roam hysteresis.
632cb65 Update the Channel Change Reason
efaed58 Inform TL about pending packets whenever Queue is filling up
4f74d03 Enable gEnableBypass11d to reduce the connection time.
9f918a0 Remove gNeighborScanChannelList from cfg.ini
2da87e7 Preferentially scan occupied channels (learned from previous scans).
b340701 Update template cfg.ini for LFR
e10a7e3 Fix for passing proper reason code to supplicant
Signed-off-by: Iliyan Malchev <malchev@google.com>
New sekonix lens's vcm_en will be controlled by regulator cam1_vaf,
because vcm_en is pulled up with LDO L17.
Signed-off-by: Iliyan Malchev <malchev@google.com>
- Update CCM table and ABF filter for indoor/outdoor color
- Decrease roll off table gain to improve noise reduction on outside picture
- Adjust AWB gain
Signed-off-by: Iliyan Malchev <malchev@google.com>
Support waiting for acquire fences in the buffer sync ioctl.
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Display commit ioctl will do what pan_display
can do, addtionally has customized setting, such
as non-blocking call.
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Schedule a workqueue, do the current job in the workqueue handler.
Block the second entry if the first one has not finished
Change-Id: I9466c7795bd9d6765f468bf30f4021802d904c36
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Conflicts:
drivers/video/msm/msm_fb.c
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Wait for fence signaled before commit, signal previous
fence after commit done. Same as pan display
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Replace sending of vsync timestamp using uevents with sysfs entry
as uevent result in increase in power numbers due to broadcast in
nature. Also, for smart panel, wait4vsync is removed.
Change-Id: I5219e85b837b8bab9d00a9f40c1048d2a2355194
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Conflicts:
drivers/video/msm/mdp4_overlay_dsi_video.c
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
DSI dcs commands and mdp pixel stream share same dsi link.
Add dcs command list to serialize sending dcs command and mdp
pixel stream to avoid contention which may cause dsi controller
to stall.
Change-Id: Ie0e687f45be479d2137eb7b56b8d32040fba2044
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Conflicts:
drivers/video/msm/mdp4.h
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Support to read utilization stats from userspace, used by
mpdecision. This implementation is independent of governor
and sampling rates.
Change-Id: I678c7462ba77d84ce4c51c36a61da7ac99ffecc8
Signed-off-by: Narayanan Gopalakrishnan <nargop@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Reverting this change allows display underflows to cause flashes of blue, which
will help prove that underflows are occurring.
This reverts commit e6f596dbcd307e33e4e4842914a027c7f7138bd9.
We're tracking a problem where NFC on Mako does not come up
sometimes. As a software workaround, we want to retry the
reset procedure a few times. Since the user-space stack
calls the address change ioctl first on Mako (which
does some i2c writes), return error code from that
ioctl so we can see if NFC didn't come up.
Bug: 7258919
Change-Id: I01584a69cb294134d5bd3c16b4b15b56739c4fe3
Signed-off-by: Martijn Coenen <maco@google.com>
git://codeaurora.org/external/wlan/prima.git
f0de27e wlan: Release 3.2.1.5b
47ce79d Reduce the age count only for valid scan entries
d0b91b1 wlan: Release 3.2.1.5a
2409064 Do not drop coming late probe response
0e1e7d3 Fix for BMPS workaround kicking in after SSR
d5c3a24 Update Kconfig and Makefile to support roaming
9ff8b97 wlan: Release 3.2.1.5
a5cae50 Changes to acquire wakelock to avoid the apps suspend during the scan.
0c3229e Reduce PE logging
ea72fd5 If the WDI Join fails not able to tun off the WLAN
f354457 Host Crash fix for set and clear Packet filter
6237972 p2p-GO not clearing the Use Protection bit
f9b3e85 Reduce the log level of a P2P listen duration to INFO HIGH
16e7aa0 wlan: Fix for crash during wlan unloading
Signed-off-by: Iliyan Malchev <malchev@google.com>
The GPU needs access to the L2 cache while running. If the
CPU is not also active using the cache can lead to stability
issues. Keep the CPU out of idle power collapse at all times
while the GPU is running.
CRs-Fixed: 397489
Change-Id: Iab2d8c601e903aadc4060f7c6d67bc128840edbf
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
If we don't apply CABC register setting at the first bootup, then it makes a
power difference between the bootup time and the first suspend and resume,
approximately 38mA.
Change-Id: I91c915af31e9ff6934ce733f3fb2c8b96e1adf31
Signed-off-by: Iliyan Malchev <malchev@google.com>
wcnss subsystem needs to distinguish between device boot up
and subsystem restart during its initialization. Setting this
spare bit in PMU register before reinitializing wcnss would
let the wcnss know whether this is cold boot or SSR
Change-Id: I4e535c0c46a20ddcc02c33b7ecd8d0f7fb1fca7f
Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Video driver will close the instance if secure call fails.
Change-Id: I39147272a9183f011529078fe8a18ac8cb2726fd
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
The sysmon_send_shutdown() API sends a shutdown request to a subsystem
and reads the response. The response is expected to be simply an
acknowledgment that the subsystem has received the request.
Change-Id: Ic68ee69434a2a2f6ea4f88b4f7aa73dfe3cca90b
Signed-off-by: Joel King <joelking@codeaurora.org>
Conflicts:
arch/arm/mach-msm/sysmon.c
Signed-off-by: Iliyan Malchev <malchev@google.com>
MSMFB_OVERLAY_COMMIT ioctl is used to display on external.
This is used instead of the default PAN mechanism to avoid delays in that path.
This ioctl for external also waits for DMAE thus fixing tearing.
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Arun Kumar K.R <akumarkr@codeaurora.org>
Currently not setting QMULT for ISO endpoints. Set this
value appropriately to indicate to the USB controller the
number of transactions to be done in microframe.
Change-Id: If80c003464024f8dfebcda13fefb33744618d043
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
b/6968587
When USB was disconnected, we were freeing our audio_dev struct in audio_unbind
before the audio system had cleaned up, resulting in a hang in audio_pcm_close.
We now statically allocate the audio_dev struct to avoid this problem.
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I58ad21eaa20dcf4aa74ee614ef3b6ed2c91d52a1
Fixes watchdog reset on USB disconnect
Larger packet size fixes performance in fullspeed mode
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I495c3c02f965d64538eb8adcd62a12a18a723cef
Increase max packet size and clean up timing logic so we can better
recover from not getting an interrupt in time for a SOF.
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: Ie0e11853997e7f0c8320e79de3b3de0321c779ca
This driver presents a standard USB audio class interface to the host
and an ALSA PCM device to userspace
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: Ie20264ac86d21a1b1366491273034b755366d3c3
The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I48082ce473eb6577b0bf613be9ec27f2f5c19384
usb device controller driver initializes all endpoint's max packet
size to 64 bytes. At the time of function driver bind gadget
framework chooses endpoint by comparing it with endpoint
descriptor of the function driver in ep_matches(). Driver bind
fails for the function driver having isochronous endpoints, as
ep max packet size is less than endpoint descriptor's max packet
size. Hence set ep max packet size to 0xFFFF for non-zero
endpoint which will be set to endpoint descriptor's max packet
size when endpoint is enabled at the time of enumeration.
Change-Id: I9fc0a19bd4502812b8659222d60274ad8b9fef34
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
b/6968587
Enable to store the AP8064 RTC.
It will fix the RTC reset issue after reboot.
AP8064 doesn't have the problem of rtc being written by modem since
the modem is external with its own rtc
This reverts commit 375ccb564347e826caf20c87c9778bc351adaead.