linux/drivers/soc/qcom
Brian Masney 88c1e9404f soc: qcom: add OCMEM driver
The OCMEM driver handles allocation and configuration of the On Chip
MEMory that is present on some Snapdragon SoCs. Devices which have
OCMEM do not have GMEM inside the GPU core, so the GPU must instead
use OCMEM to be functional. Since the GPU is currently the only OCMEM
user with an upstream driver, this is just a minimal implementation
sufficient for statically allocating to the GPU it's chunk of OCMEM.

This driver currently does not read the gmu-sram node that is described
in the device tree bindings. The starting memory address of the GPU's
reserved memory region is hardcoded to zero to match what the hardware
expects. The driver can be updated to read the reserved memory regions
from device tree once other users of OCMEM are added upstream.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Co-developed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Gabriel Francisco <frc.gabrielgmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-10-07 08:17:33 -07:00
..
apr.c soc: qcom: apr: Don't use reg for domain id 2019-06-15 00:03:44 -07:00
cmd-db.c soc: qcom: cmd-db: Fix an error code in cmd_db_dev_probe() 2019-03-27 23:32:26 -05:00
glink_ssr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
Kconfig soc: qcom: add OCMEM driver 2019-10-07 08:17:33 -07:00
llcc-sdm845.c qcom: soc: llcc-slice: Clear the global drv_data pointer on error 2019-02-12 15:27:14 -06:00
llcc-slice.c soc: qcom: llcc-slice: Fix typos 2019-02-15 16:30:34 -06:00
Makefile soc: qcom: add OCMEM driver 2019-10-07 08:17:33 -07:00
mdt_loader.c remoteproc updates for v5.3 2019-07-17 11:44:41 -07:00
ocmem.c soc: qcom: add OCMEM driver 2019-10-07 08:17:33 -07:00
qcom_aoss.c soc: qcom: aoss: Add AOSS QMP support 2019-08-21 15:59:44 -07:00
qcom_gsbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 409 2019-06-05 17:37:14 +02:00
qcom-geni-se.c soc: qcom: geni: Provide parameter error checking 2019-09-06 11:08:08 +02:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi: Change txn wait to non-interruptible 2019-03-27 23:32:26 -05:00
rmtfs_mem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
rpmh-internal.h drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
rpmh-rsc.c drivers: soc: qcom: rpmh-rsc: Correct check for slot number 2019-04-09 23:40:09 -05:00
rpmh.c soc: qcom: rpmh: Avoid accessing freed memory from batch API 2019-02-01 16:08:45 -06:00
rpmhpd.c soc: qcom: rpmhpd: Mark mx as a parent for cx 2019-01-22 15:10:15 -06:00
rpmpd.c soc: qcom: rpmpd: Add MSM8998 power-domains 2019-05-29 21:40:44 -05:00
smd-rpm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
smem_state.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
smem.c soc: qcom: smem: Update max processor count 2019-08-21 15:58:01 -07:00
smp2p.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
smsm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
socinfo.c soc: qcom: socinfo: Annotate switch cases with fall through 2019-08-06 22:42:50 -07:00
spm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
trace-rpmh.h drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE 2018-07-21 13:32:31 -05:00
wcnss_ctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00