The video driver should enable iommu clocks for vcodec, mdp and
rotator for content protection playback. Expose clocks to video
driver to enable for secure playback.
Change-Id: I2037cf5825d0b9cc7f37cf7fe56396163cb1db24
Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Printing to debugfs is done from a centralized location for
all the heaps managed by ion. This architecture is not
sustainable in the long run since different heaps have different
requirements for what should be printed.
Refactor the debugfs printing for ion so that each heap is
responsible for printing its information.
Change-Id: I1dbe13432a4ab07f27ea4756c3be7fa01ad1df92
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add error message when allocation from ion fails.
Change-Id: If2efa95c563c9f076b85958a70ea66afa3983325
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
The ion client name used for debugging were being
allocated on the stack for user space clients. This
causes the name to be garbled when later printed.
Instead, allocate the name from the heap.
Change-Id: Id299d224192f127197bef2eeb22d881b3a31795c
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add decrement of mapping count when mapping fails
and corresponding SMI release region call.
Change-Id: I81fb7eeee9973c770a65f02236c5358ce313e3a0
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Remove duplicate logging message for failure to create
a heap. Add logging message with name, base address, and
size of each heap created.
Change-Id: Id3a3706d914ffa72b0ecd84eb98785a678ceda9a
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
The SCM call message size used to protect and
unprotect memory is incorrect. The interface expects
13 bytes but 16 bytes is sent due to padding of the
message struct.
Pack the message structure to force the size of the
structure to 13 bytes.
Change-Id: Iecb7b40aa7e94454620c19cd70c3106392d2d311
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
ION has to guarantee that two of the heaps are
adjacent to each other. This is due to a limitation
in the hardware. Add code to ensure these heaps
are adjacent.
Change-Id: Icc18437a50e1d872112468d02b61ab47fd70acc9
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
For wifi display, the writeback panel is needed to capture the output of
mdp. Setting this config enables the writeback panel.
Change-Id: I51006b74f63d286af6ca62bd95aa4fe2129f9fe4
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
During the probe for writeback panel, for MDP hardware versions
earlier than 4.3 an incorrect goto call un registers the bus scale handle
that primary panel uses. This is causing the boot failures because the
primary panel turn on sequence triggers the bus scale update request on
already unregistered handle.
Change-Id: Ie604b0ba5606d9664d2aeff28b8bea131965de61
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
Clear control queue everytime before entering wait in msm_control as
there might be invalid payloads in the queue and this can lead to
not waiting at all and exit before the valid command completes.
Change-Id: I34991968cb6bb9c2978bcea4d8ce641894cc2453
Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>
Increase size of pmem_adsp region to enable high resolution
video decode using neon optimized SW codecs.
Change-Id: I7bbf7d743aac9f2e8cc1cd3227e4dc9fdb6aabe2
Signed-off-by: Mahesh Lanka <mlanka@codeaurora.org>
MDP underrun happens if combination of x + w or y + h exceeds 2048.
To handle such use cases add an offset to the source address instead.
Change-Id: I36a8b687c4e21cac9915b5bf71211c97f6b44ddd
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
OEM's have requested to remove CIQ support from our sotfware,
hence remove sdio tty ciq device that exposes the SDIO_CIQ channel
to userspace. The channel configuration itself will be removed
from client on the modem side. Also remove the test code related
to SDIO_CIQ channel.
Change-Id: I47702dd024d9aa549b55b713b12732838fb665a8
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
This patch describes the basic attributes in the device tree
for the MSM SPI driver. Support for specifying the GPIO pins
associated with SPI is not yet present.
Change-Id: Idcb5cc28d84a2fa59463e698628da48cb058c652
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
Port ION changes made to 8960 to 8064 board file.
Change-Id: I6bacc24803397458aab2c47bec460b60368db27d
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Endianness change is no longer required for 1080p
firmware starting with Nov 30th 2011 firmware version.
Change-Id: I309d63b7efb544f80b44c6fc13955f186ece934b
Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
* changes:
irq: irqdomain: Add API to find free irq range
arm: gic: Check for error code on irq_domain_add
irq: irqdomain: Change irq_domain_add to detect errors
arm: gic: Register irqdomain after adding it
irq: irqdomain: Add support for dynamic irq_desc allocations
With this commit, USB Driver will start using Power Supply
API rather than calling direct pmxxx driver API for USB charging.
This will allow hiding specific charger model (such as
external LTC4088 charger used for MDM9x15) from USB driver.
In case the power supply API is not support, fallback to legacy
API which uses pm8921 driver.
Change-Id: Ic0f302e3aa8aa60f6483a0fdeec9389a0ded1fac
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Flush the event and work queues prior to queuing READY event.
Change-Id: I95584006d252b2284bf15562edbca50fa5593384
CRs-Fixed: 327151, 326855
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Increase the RDS Radio text buffer size to fit the RT header.
And also limit the Radio text to maximum allowed length
Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>