Commit graph

568364 commits

Author SHA1 Message Date
Vinayak Menon
aefb461740 mm: zcache: shrink zcache on memory pressure
When file pages drops down, at a point zcache pages
can be more than the file pages, and even further when
we have to reclaim the maximum number of file pages
possible to launch an application, we need a way to
reclaim even the zcache pages at least to an extend
which makes it match with the number of file pages.
This can help in better foreground headroom.

Change-Id: I481bfb9961ed5cee47ebeae08eb910bb269b644c
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-23 21:15:16 -07:00
Vinayak Menon
42bfd5ca64 mm: zcache: disallow sleep in zcache store
zcache store ops cannot sleep since it is called from
an atomic context. Pass the right flags to alloc functions.

Change-Id: I9c7956e895fb7909932315aa3d85845127aa02e1
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-23 21:15:15 -07:00
Bob Liu
37b371fd53 mm: zcache: add evict zpages supporting
Implemented zbud_ops->evict, so that compressed zpages can be evicted from
zbud memory pool in the case that the compressed pool is full.

zbud already managered the compressed pool based on LRU. The evict was
implemented just by dropping the compressed file page data directly, if
the data is required again then no more disk reading can be saved.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Patch-mainline: linux-mm @ 2013-08-06 11:36:16
[vinmenon@codeaurora.org: trivial merge conflict fixes]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Change-Id: Ia66652475e490f0233547511e80abf7587054e65
2016-03-23 21:15:14 -07:00
Bob Liu
c3ca4b603e mm: zcache: add core files
zcache is a backend for cleancache that takes file pages that are in the
process of being reclaimed and attempts to compress them and store them
in a RAM-based memory pool. This can result in a significant I/O reduction
if system is full with file pages and, in the case where decompressing
from RAM is faster than reading from the disk, can also improve workload
performance.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Patch-mainline: linux-mm @ 2013-08-06 11:36:14
[vinmenon@codeaurora.org: trivial merge conflict fixes, checkpatch fixes]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Change-Id: Id05bcc1946eee22b94a83adeb0134a3f6e357ef8
2016-03-23 21:15:13 -07:00
Walter Yang
afbbca6a77 ASoC: wcd_cpe_services: delete the redundant worker thread
Currently worker thread in cpe service is created twice.
The second thread handler overwrites the first one. The first
thread is not freed  when the service is cleaned up. The fix
prevents creation of the redundant thread.

CRs-Fixed: 949165
Change-Id: Idd76b76d4f7f25d2592ca7c336dbee77b6efc7eb
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-03-23 21:15:12 -07:00
Alex Yakavenka
de0b2b9dd0 can: Add RH850 CAN controller driver
This driver creates network device of type CAN
and processes tx and rx frames that it sends and
receives over SPI.

Change-Id: I903927d5bb0025c2ad3e9f1dd7cb51de547fc360
Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
2016-03-23 21:15:11 -07:00
Steven Cahail
d9ad69783b trace: ipc_logging: Increase maximum size of logging context name
The current maximum length of an IPC Logging log context name is 20
characters. Some clients are now using names longer than this.

Increase the maximum length to 32. This change increases the IPC Logging
version to 3.

Change-Id: I9daecb8a7c6c3aea427efd1c75e307456e9c6c21
Signed-off-by: Steven Cahail <scahail@codeaurora.org>
2016-03-23 21:15:11 -07:00
Yan He
fedf20a070 msm: sps: support using cached write pointer for BAM-to-Sys mode
Support using the cached write pointer for a BAM-to-Sys mode BAM
pipe when check if the desc FIFO of that pipe is full.

Change-Id: Ie480ecca9eff76388c504665b496e01bbf3e009f
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:10 -07:00
Sudheer Papothi
b12c7d2cd1 soundwire: Add slave synchronization configuration
Slave synchronization is needed to sync frame shape consisting
of different ports with different sample rates. Change sets
the slave synchronization based on the frame shape.

Change-Id: Iae726555b3c158394662c590d1ebc781ff7f54f5
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:15:09 -07:00
Vinu Deokaran
d9a1729d78 ARM: dts: apq: enable dual dsi for agave board for APQ8096
Enable dual DSI for Agave board to support three displays.

Change-Id: I80e0c90e3d039a1777598f4038d9a1d18f23ca1b
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23 21:15:08 -07:00
Abhishek Kondaveeti
3b5427bdee msm: isp: Add output format support for camif
Add output format support for camif raw path
in isp.

Change-Id: If8e633175a5488b8da740654c8204b0247d3c408
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2016-03-23 21:15:07 -07:00
Zhenhua Huang
588f3266eb soc: qcom: socinfo: Add check for subtype id
There's an overflow when subtype id is greater than 3 in current
design. Add a check to ensure returning correct value.

Change-Id: Ie8d234792f7370c95782a86e16affd383ed53c18
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2016-03-23 21:15:06 -07:00
Sudheer Papothi
ec61fa0e6f ARM: dts: msm: Add pinctrl for codec reset and interrupt on 8996
Change reset and interrupt lines of codec from gpio to pinctrl
on 8996 target to control the drive strength of the pins.

Change-Id: Ie95b80699f1726c2b2e27c1b8e5f51f7ccdd5417
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:15:05 -07:00
Karthikeyan Ramasubramanian
6abda44581 soc: qcom: glink: Fix race condition between tx and close operation
The channel is closed locally by the client either as part of SSR or normal
working scenario. The transmit operation does not check the transport or
channel states before queuing the packet for transmit operation. This
causes the transmit operation to access stale transport or channel context.

Check the transport and channel state before queuing the packet for
transmission.

CRs-Fixed: 947627
Change-Id: Ic6f8350b6b5e51b641794255f8520ff4616343bb
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-03-23 21:15:04 -07:00
Steven Cahail
d3bc56a0d1 trace: ipc_logging: Destroy debugfs directories with logging contexts
IPC Logging currently creates debugfs directories for each of its
logging contexts, but does not remove them when destroying the contexts.
If a user attempts to access a directory associated with a destroyed
context, a crash will result.

Destroy debugfs directories when the logging context is destroyed.

Change-Id: I5a3b1cbf2fb5d9d0ede3d9da0fccd605b9fdf619
Signed-off-by: Steven Cahail <scahail@codeaurora.org>
2016-03-23 21:15:04 -07:00
Dhaval Patel
4cc2cc8fc3 ARM: dts: msm: enable bta check for nt35597 panel on msm8996
Enable bta check for nt35597 dual dsi/single dsi(dsc) and
video/command mode panel on msm8996 target.

Change-Id: I0a4dd466719f973690f996e7a0cbe95de9b88ad7
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:15:03 -07:00
Ingrid Gallardo
b136fcc3c4 Revert "ARM: dts: msm: Enable dynamic refresh for sharp WQXGA panel"
This reverts commit 9d9fb803fd88c493bd27f7b3af21358f8b16bfe2
("ARM: dts: msm: Enable dynamic refresh for sharp WQXGA panel")
since the dynamic refresh  method enabled by the change is
causing random touch events to be triggered.

Change-Id: Ibfab4827c53635bd8c399b087a9a699f26c69dbc
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 21:15:02 -07:00
Ravinder Konka
90f5ff1935 netfilter: Fix to MT call issue
Changes to store forced port only in the original direction.
This resolves the MT call issue where destination port is
incorrectly translated to forced_port.

Change-Id: I1b1c407c4beb8185ada0b005b1cd1034cb975141
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
2016-03-23 21:15:01 -07:00
Jack Pham
ea8b061e0d ARM: dts: msm: Remove obsolete USB 'power-collapse' properties
These properties are no longer used and can be removed.

Change-Id: Iea376798a6a9da5ba5a0a6fa4e24c15c1cfe188d
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-03-23 21:15:00 -07:00
Jack Pham
73b8a7c107 clk: msm: clock-gcc-8996: Add USB_20_BCR
Add the BCR to reset USB20 block to gcc_usb20_master_clk. This will
allow the driver to correctly call clk_reset().

Change-Id: Ib4f8b73317032c88f5272a530007ff08d14dbd4a
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-03-23 21:14:59 -07:00
Zhen Kong
80a9c6a26b qseecom: Add a new smc cmd to check RPMB key provision status
A new smc cmd is added to check RPMB key provision status

Change-Id: I50411bf9ae7f31589be34d7b5aaf48f2c12f0018
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-03-23 21:14:58 -07:00
Phani Kumar Uppalapati
5c2bb64a1c ASoC: wcd9335: Change RX disconnect port sequence
Change RX disconnect port sequence so as to avoid
slimbus underflow and audio mute issues during
playback.

Change-Id: I0260e61b78e3bcfe422896dc60b15af84be424a4
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:14:58 -07:00
Banajit Goswami
d2c515c358 ASoC: wcd9335: update default VBat Bias current
Update default value for VBat Bias current for Front-end.
The increase in current value is needed to increase
robustness of VBat ADC output when the feature is used
at low temparature.

Change-Id: Ic924fa59ce867f9b32c17564f8f55406c6c467ea
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2016-03-23 21:14:57 -07:00
Phani Kumar Uppalapati
dc9d51cfe2 ASoC: msm: Enable MBHC 5-pole plug detection
Enable MBHC (Multi Button Headset Control) 5-pole
plug detection so as to detect the presence of
second microphone whenever any accessory is inserted
in to the headset jack.

Change-Id: I53dda0d18006109c19a1cd8ce0bc4df45a13f0bf
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:14:56 -07:00
Karthikeyan Ramasubramanian
a203482481 soc: qcom: ipc_router_glink_xprt: Fix receive callback
G-Link driver notifies IPC Router about receive events in atomic context.
Allocate the memory from atomic pool to cache the information about rx
events for deferred processing.

CRs-Fixed: 948393
Change-Id: I09fb7ffd38b5a36b9ef99b6adb76c7e1f0168457
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-03-23 21:14:55 -07:00
Osvaldo Banuelos
4a26a83ecc ARM: dts: msm: Disable VDD_APCC ACC regulator devices for msm8996v2
Disable the regulator devices which manage ACC settings for
memories powered by VDD_APCC in the CPUSS. In addition, update
the CPR3 controller and regulator devices which manage VDD_APCC
to ensure CPR corner changes do not result in configuring ACC
regulators.

Change-Id: Ib176c762d12e996e809ee0ccf0bc56d5ae37c0f3
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-03-23 21:14:54 -07:00
Rajesh Kemisetti
b9ad61fb8e msm: kgsl: Add missing check for size against lower VA
_get_unmapped_area_topdown() subtracts the requested size
from lower entry base without really checking its value.

This leads to overflow while working at boundary conditions.

Add a condition to check entry base with the size and proceed.

Change-Id: Ic695da683b11de35c7c4b8936a35d693dc8fa452
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2016-03-23 21:14:53 -07:00
Abhishek Kondaveeti
9c23d30f60 msm: isp: Initialize buffer spin lock
Initialize buffer manager spin lock before
using it

Change-Id: Icef09e9d40bbbe66e90c162dd0ae2f1733ae9a06
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2016-03-23 21:14:52 -07:00
Tarun Karra
1757ab898b msm: kgsl: Prevent deadlock in cmdbatch timer
Dispatcher can acquire drawctxt->lock if context is pending
and the fence it is waiting on just got signalled.
Dispatcher acquires drawctxt->lock and tries to delete the
cmdbatch timer using delete_timer_sync(). Delete_timer_sync()
waits till timer and its pending handlers are deleted.
But if the timer expires at the same time, timer handler
could be waiting on drawctxt->lock leading to a
deadlock. To prevent this use spin_trylock_bh() instead of
spin_lock_bh(). spin_trylock_bh() does not wait for the lock
if it does not get it and allows the timer handler to finish.
This prevents the deadlock.

Change-Id: Ic2344fed5fccb581b58ec0b66b45ba68af9f1459
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
2016-03-23 21:14:52 -07:00
Sanrio Alvares
880488a336 soc: qcom: msm_rtb: Add support for hotplug RTB logging
Hotplug events are particularly interesting from system
point of view and tracing around the hotplug events would
provide essential information that could be used to debug
system issues.

Change-Id: I23e9539a76e04e222a0a05f27be51cb726ab6c33
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
2016-03-23 21:14:51 -07:00
Valery Gorohovsky
7e727e1acb msm: ipa2: add active clients logging
add framework for IPAv2 active clients history logging
logging is enabled by default
cat /sys/kernel/debugfs/ipa/active_clients in order to view logs
echo anything to /sys/kernel/debugfs/ipa/active_clients in order
to clear the history log buffer

Change-Id: I975271798aee56ac9889d34203a32c99a30fc958
Signed-off-by: Valery Gorohovsky <valeryg@codeaurora.org>
2016-03-23 21:14:50 -07:00
Vinu Deokaran
bc9586706d msm: dba: add additional audio configuration parameters
Add additional audio configuration parameters to the MSM
DBA(Display Bridge Abstraction) interface driver.

Change-Id: I7fef9b1a192a872c2e89dd9a7d6e942a1b77c6cb
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23 21:14:49 -07:00
Ingrid Gallardo
92198b45df msm: mdss: cleanup auto-refresh implementation
Auto-refresh is used on smart displays to refresh display without
SW intervention, similar to dumb displays. So when it is on, display
controller will automatically send new frame every time panel TE signal
is received. Now as per the HW implementation, disabling auto-refresh
requires that display controller is idle and there is no frame transfer
on-going. To achieve this, we need to follow certain disable sequence.
To implement this disable sequence, clean up current implementation and
introduce auto-refresh state machine.

Change-Id: Iac5d76b6431f7ef2fcd68114e19c5cb5fb02577d
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 21:14:48 -07:00
Dhaval Patel
23249cac8f msm: mdss: check intr line status before handling isr
Hardware might return/call the pending interrupt
on one CPU when same interrupt is disabled from other
core. Such parallel processing may lead to unclocked
register access in interrupt context followed by
panic. It is safe to check the interrupt line status
before handling isr to avoid crash in such race
condition.

Change-Id: I460550cb5188c7f77b9f741682917010f9231a50
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:14:47 -07:00
Ray Zhang
6c8c0f62d3 msm: mdss: fix deadlock between display and ESD check thread
Display thread holds ov_lock followed by mutex, while the ESD
check thread for cmd mode panel holds mutex followed by ov_lock.
Fix this deadlock by acquiring mutex before ov_lock in ESD check
thread.

Change-Id: I857f780e14a6ccb679e89ff16b19706d205df4b6
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-03-23 21:14:46 -07:00
Ajay Singh Parmar
5fbd0a8b8e msm: mdss: hdmi: hdcp2p2: fix hdcp 2.2 compliance issues
Send stream management message to sink after topology update. Poll
for new message or authentication required status after successful
receiver or repeater authentication. Also, DDC hardware polls sink
for a given time. Let the polling complete and do not treat intermediate
DDC errors as failures because DDC transaction can pass in next
iteration. Once polling ends, check for errors and timeouts and reset
polling data. Treat these errors as failure only after polling ends.

Change-Id: I286fb00cf935bff493e108c05df625d5ca3ade26
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 21:14:46 -07:00
Ping Li
da613e9e0b msm: mdss: maintain AD state through idle power collapse
When device enters the idle power collapse mode, the entire
AD HW block is powered down, which will cause the previous
AD settings get lost. So when device exits the idle power
collapse mode, we need to store AD to previous state.

In order to achieve this, we need to switch AD mode to 0x85 first
and manually write the last AD strength value to AD register. Keep
this setting for couple of frames, in the meantime, kick off AD
calculator with t_filter_control value of 0 to ramp up the AD
strength from 0 to current target strength. Then switch the mode
back to auto strength (0x81).

Change-Id: Iddc12dbb0da06675141fa9fe049cfe90110defb9
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23 21:14:45 -07:00
Jayant Shekhar
bc6c912958 msm: mdss: fix NULL pointer dereferencing issues
This change fixes the errors reported in static analysis
of MDSS driver code. These changes include fix for various
potential NULL pointer dereferencing and array index out of
bounds issues in MDP, DSI and PP module of MDSS driver.

Change-Id: I49f65f0b4e5218f9fc90469e9d431a3aec811ee2
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23 21:14:44 -07:00
Sandeep Panda
4b33528c74 msm: mdss: update PHY timing calculation logic for resolution change
In current implementation we are always overriding the PHY read
from dt entry with the ones we are calculating in driver. Update
the PHY timing only when there is a change in resolution.

Change-Id: I2ba936af6e55b27c7b28d38990b32e896c877e08
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23 21:14:43 -07:00
Ping Li
83af99dce7 msm: mdss: Use the correct AD backlight for AD BL filter
Use the last backlight sent to AD core for AD backlight filter
threshold comparison.

Change-Id: I8ea26a8a95c700749aa83d5b70a3b16c44258767
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23 21:14:42 -07:00
Ping Li
854f74456c msm: mdss: Optimize backlight mapping calculation for AD
Reduce the rounding error during AD backlight linearization and
attenuation.

Change-Id: Ibf181414512d457d3341bbccf8cf9338aef8ac76
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23 21:14:41 -07:00
Ping Li
207a40bd09 msm: mdss: Correctly reset the ad_events count
Reset the ad_events count in the AD ioctl instead of ad_setup().
There are some time delay between AD ioctl and ad_setup, which is
part of the display commit path, so if we reset the ad_event count
in ad_setup, then it is possible that user space reads the ad_events
sysfs node after the AD ioctl but before the ad_setup(). In that
case, user space may get the incorrect ad_events count, and cause
the gradual AD off fail.

Change-Id: I13f2043a6a21be7e49b44a964b00b0aa4315dc17
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23 21:14:40 -07:00
Ray Zhang
1f05cf89cf msm: mdss: add multiple register support in ESD check
Current implementation cannot support multiple registers
in ESD check, and it does not work for many cases. For
example, some panels need check multiple registers to get
its status, and some panels might return several possible
values for one register read.

To support this kind of behaviors, a new property in dtsi
is added as "qcom,mdss-dsi-panel-status-valid-params" which
specifies the valid value length we should check in the
payload returned by panel, and the payload length panel
should return is specified by the property "qcom,mdss-dsi-
panel-status-read-length". "qcom,mdss-dsi-panel-status-value"
is also extended to an array which specifies all the possible
return values from panel.

Change-Id: I098d04281b819581f53c7c509778e7b594aa499a
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-03-23 21:14:39 -07:00
Ping Li
37563b3b8a msm: mdss: Add support to retain AD RAMs
Modify the MDP_CBCR bits to retain the AD RAMs through idle power
collapse(IPC).

Bits setting when device enters IPC:
  - MEM_CORE_ON: 1
  - MEM_PERIPH_ON: 0
  - MEM_PERIPH_OFF: 1
Bits setting when device exits the IPC:
  - MEM_CORE_ON: 1
  - MEM_PERIPH_ON: 1
  - MEM_PERIPH_OFF: 0

Change-Id: I10749312d905eb4629e94e396b1604667738e84f
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23 21:14:39 -07:00
Kalyan Thota
329041fdd8 msm: mdss: add min vote on the bus before iommu attach
MDSS needs a min vote on sysmmnoc clk to perform TZ and
IOMMU operations. This vote is needed for few low tier
chipsets.

Change-Id: Iff8c775bfc2001f0bae5118427334793bf392bc0
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
2016-03-23 21:14:38 -07:00
Tatenda Chipeperekwa
2fdabe4dc5 clk: msm: mdss: Read PLL/PHY status once during bootup
Read the PLL/PHY status once during bootup to avoid delays
due to polling. Polling for PLL/PHY status is only required
when handling HDMI use cases in which the cable is connected
after bootup is complete.

Change-Id: Ie1d5983a7784cb5f3472527d1b510f128ae9d325
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-03-23 21:14:37 -07:00
Ingrid Gallardo
e5793411ee msm: mdss: debug: add xin id to pipe dump
Add the xin id information on the dump of the
pipes.

Change-Id: I20d63e02d0f36f1d173185c520b7c448ead7409d
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 21:14:36 -07:00
Padmanabhan Komanduru
5b6725448a msm: mdss: make sure backlight is off during suspend
The backlight of the display panel will not get turned off during
suspend if there are no display commits between suspend/resume
since allow_bl_update will only be set to 'true' after first
valid display commit after resume. This is possible for power
off charging use-case where there will be only one display
commit initially and later just the content of the buffer gets
updated without anymore display commits across suspend/resume.
Make sure the backlight is turned off during suspend by
explicitly setting allow_bl_update to 'true' before trying to
set the backlight to zero.

Change-Id: I10f39e3913e5b40a61066f0bbce3a7a8f1a9441b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2016-03-23 21:14:35 -07:00
Veera Sundaram Sankaran
45b00409c3 msm: mdss: move used pipes to cleanup list on overlay free
Avoid moving pipes to destroy list during overlay free based on
the pipe play count as it might not give the actual information.
The play count is set to 0 for all new or config changed pipes
during the validate call. And if we get a fb_release_all request
right after the validate, it would indicate an inconsistent state
for the play count. Instead, move the used pipes to cleanup list,
so that the NULL kickoff would handle the pipes to be unstaged
and destroyed.

Change-Id: I0026d512e92d0d59962ee8114873f7804a31c018
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 21:14:34 -07:00
Ray Zhang
35ae349722 msm: mdss: remove interrupt handler when pingpong is not present
Remove pingpong interrupt handler when pingpong done interrupt is
not present. This will ensure no unexpected pingpong is reported
which might lead to confliction with the destroying ctx.

Change-Id: I9a7173fb19e55344cedcfeccdaf23efaba11892c
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-03-23 21:14:33 -07:00