| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removed unneeded/unused macro definitions.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
TILER: Removed redundant hardcoded TILER constants.
tiler-geom.c now calculates most tiler-geometry related constants,
and exposes them to other functions via a tiler_geom structure.
Removed unused TILER calculation macros.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
TILER: Removed unnecessary adjustment by TILFMT_8BIT
Since TILFMT_8BIT is not 0, we don't need to adjust array access
by tiler format.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
TILER: Removed unused get_parent() API from TCM.
Since TILER maintains a list of blocks within TCM areas, we do not
use this method. Also, this method is only used when looking up
blocks by ssptr, which is not used by MemMgr API-s.
Originally, this method was provided to optimize this lookup.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moved all non-static internal functions into a function table.
Also renamed tiler-ioctl.c to tiler-iface.c as it contains multiple
external interfaces (file & API).
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moved file operations, buffer/process management and major kernel
API-s to tiler-ioctl.c.
Moved tiler geometric manipulations to tiler-geom.c.
Added wrappers around block manipulations so that other tiler
source files can manipulate blocks without needing to share the
main tiler mutex.
Listed non-static files in tiler-pri.h.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These give the optimal packings for block sizes less than 64 slots
wide.
Also added reservation ioctls.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TILER block lookup is now based on key & id. However, it is still
possible to look up a block's key & id based on its system space
address.
Signed-off-by: Lajos Molnar <molnar@ti.com>
TILER: Added address space support for mmap.
Now each TILER buffer occupies a range of the correct size in
TILER's mmap memory space (offset + size).
Signed-off-by: Lajos Molnar <molnar@ti.com>
TILER: Added support for partial mmaping of TILER buffers
Added support for mmapping only a portion of a TILER buffer.
Also added helper functions that can be used by other drivers that
use TILER to mmap and ioremap portions of TILER blocks.
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changed tiler_alloc/x, tiler_map/x and tiler_free APIs to use
tiler_block_t structure.
Simplified tiler_mmap using information in this structure.
Now storing and able to reconstruct exact dimension of each
allocated tiler block.
Fixed issue with virtual stride of 1D buffers when using an
offset.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Tiler allocations are autopacked, so these API-s are no longer
needed. For more optimal allocations, tiler_reserve and
tiler_reserve_nv12 can be used to prereserve these blocks.
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
This patch requires similar changes in user space API/memmgr
header files.
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The reference count of blocks increases on alloc, and by registered
buffers that contain that block.
When all tiler drivers of a process are closed:
- blocks allocated by it are marked "freed"
- buffers registered by it are unregistered
All blocks that are no longer marked "allocated" and are not
referenced by registered buffers are actually freed.
Blocks allocated by the kernel API are tracked separately, and
are not release when tiler drivers are closed. They are only
freed using tiler_free, or when the kernel driver closes.
Fixed a bug with querying buffers by address, which did not
account for the new TCM support for 1D buffers and block management.
Added support for clearing PAT for freed blocks.
Added extended tiler kernel API-s for specifying group ids, pids,
alignment and offset.
tiler_allocx
tiler_reserve
tiler_reservex
tiler_map
tiler_mapx
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added instance support for DMM PAT programming (dmm.c)
Created TMM interface for flexible tiler memory management (PAT or not).
Added instance support to DMM PAT memory pages management (dmm_mem.c)
Removed unused get_page/free_page methods.
Fixed TILER_GET_ACC_MODE macro to return correct tiler_fmt values.
Fixed a few sizeof style errors, and simplified dmm_mem.c
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: David Sin <davidsin@ti.com>
TILER: Don't dereference sysptr in tiler_alloc_packed function
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: David Sin <davidsin@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
|
| |
| |
| |
| |
| | |
Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
|
| |
| |
| |
| |
| |
| |
| | |
Register drm platform device, and a platform device for pvr module in
case it is loaded..
Maybe this should be added to a new file?
|
| |
| |
| |
| |
| |
| | |
This update was missing for Panda.
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: David A Long <dave.long@linaro.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added most of the generic GPU initialisation code to mach-omap2.
Change-Id: I90f137c18dcb79aa9b65761147d0aedeed021a27
Signed-off-by: Tony Lofthouse <tony.lofthouse@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
|
| |
| |
| |
| |
| | |
Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the first version of SGX driver integration to ensure UI
boot-up. Power management and hwmod modifications will be added
as patches.
Change-Id: If71e6cd651a53f4809e7b978b693cb7d1a89178d
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| |
| |
| | |
Add base address of L3 interconnect of DSS HDMI.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| |
| |
| | |
Enable the twl6040 codec on PandaBoard.
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
|
| |
| |
| |
| |
| |
| |
| | |
This driver replaces the legacy McPDM driver in that it supports both
legacy and ABE McPDM support.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add platform device for DMIC codec interfaces available
in OMAP4.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
Add platform device for Audio Backend.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bank area
Add AESS memory bank data in hwmod in order to provide memory
address information to the driver.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: sebastien Guiriec <s-guiriec@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Register Audio Engine Subsystem (AESS) device through omap
device framework.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| |
| |
| |
| |
| |
| | |
Add register bit and offset definitions for OMAP4 DMICs.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
Register DMIC device through omap device model.
Signed-off-by: David Lambert <dlambert@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
McPDM device is converted to omap device.
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ticom>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
Configure, and enable the twl6040 codec on SDP4430.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
Add twl4030_vibra platform data, and the needed regulators
for twl6040 vibrator.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TWL6040 IC provides analog high-end audio codec functions for
handset applications. It contains several audio analog inputs
and outputs as well as vibrator support. It's connected to the
host processor via PDM interface for audio data communication.
The audio modules are controlled by internal registers that
can be accessed by I2C and PDM interface.
TWL6040 MFD will be registered as a child of TWL-CORE, and will
have two children of its own: twl6040-codec and twl6040-vibra.
This driver is based on TWL4030 and WM8350 MFD drivers.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allign the platform data names for twl4030 audio submodule:
twl4030_audio_data: for the core MFD driver
twl4030_codec_data: for ASoC codec driver
twl4030_vibra_data: for the input/ForceFeedback driver
To avoid breakage, change all depending drivers, files
to use the new types.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
twl-common
Some regulator config can be moved out from board files,
since they are close to identical.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reduce the amount of duplicated code by moving the common
configuration for twl4030/5030/tpsxx to the twl-common file.
Use the omap3_pmic_get_config function from board files to
properly configure the PMIC with the common fields.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reduce the amount of duplicated code by moving the common
configuration for TWL6030 (on OMAP4 platform) to the
twl-common file.
Use the omap4_pmic_get_config function from board files to
properly configure the PMIC with the common fields.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
Introduce a new file, which will be used to configure
common pmic (TWL) devices, regulators, and TWL audio.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| | |
Signed-off-by: Andy Green <andy.green@linaro.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Based off:
"OMAP4:DSS:HDMI: Patch to add seperate edid.c"
Commited by:
Ricardo Perez Olivares <x0081762@ti.com>
Written by:
Mythri P K <mythripk@ti.com>
EDID parsing for DVI Monitor from:
Rob Clark <rob@ti.com>
Some of the ENUM's and structure derived from hdmi.h from:
Yong Zhi <y-zhi@ti.com>
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
|