msm: ADSPRPC: Add channel for compute/modem DSP
Add new channel to allow for communication to be established between application and compute/modem DSP to enable RPC calls to be made. Change-Id: I98e443e894d81bcd815418f2a79723db14d87ce4 Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
This commit is contained in:
parent
85d7e134cc
commit
0bd3c17c62
1 changed files with 14 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
|
||||
#define RPC_TIMEOUT (5 * HZ)
|
||||
#define BALIGN 128
|
||||
#define NUM_CHANNELS 3 /*1 adsp, 1 mdsp*/
|
||||
#define NUM_CHANNELS 4 /* adsp,sdsp,mdsp,cdsp */
|
||||
#define NUM_SESSIONS 9 /*8 compute, 1 cpz*/
|
||||
|
||||
#define IS_CACHE_ALIGNED(x) (((x) & ((L1_CACHE_BYTES)-1)) == 0)
|
||||
|
@ -263,6 +263,13 @@ static struct fastrpc_channel_ctx gcinfo[NUM_CHANNELS] = {
|
|||
.link.link_info.edge = "lpass",
|
||||
.link.link_info.transport = "smem",
|
||||
},
|
||||
{
|
||||
.name = "mdsprpc-smd",
|
||||
.subsys = "modem",
|
||||
.channel = SMD_APPS_MODEM,
|
||||
.link.link_info.edge = "mpss",
|
||||
.link.link_info.transport = "smem",
|
||||
},
|
||||
{
|
||||
.name = "sdsprpc-smd",
|
||||
.subsys = "dsps",
|
||||
|
@ -271,6 +278,12 @@ static struct fastrpc_channel_ctx gcinfo[NUM_CHANNELS] = {
|
|||
.link.link_info.transport = "smem",
|
||||
.vmid = VMID_SSC_Q6,
|
||||
},
|
||||
{
|
||||
.name = "cdsprpc-smd",
|
||||
.subsys = "cdsp",
|
||||
.link.link_info.edge = "cdsp",
|
||||
.link.link_info.transport = "smem",
|
||||
},
|
||||
};
|
||||
|
||||
static void fastrpc_buf_free(struct fastrpc_buf *buf, int cache)
|
||||
|
|
Loading…
Add table
Reference in a new issue