Merge "msm: ADSPRPC: Add channel for compute/modem DSP"
This commit is contained in:
commit
ba4fdd9852
1 changed files with 14 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
#define RPC_TIMEOUT (5 * HZ)
|
#define RPC_TIMEOUT (5 * HZ)
|
||||||
#define BALIGN 128
|
#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 NUM_SESSIONS 9 /*8 compute, 1 cpz*/
|
||||||
|
|
||||||
#define IS_CACHE_ALIGNED(x) (((x) & ((L1_CACHE_BYTES)-1)) == 0)
|
#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.edge = "lpass",
|
||||||
.link.link_info.transport = "smem",
|
.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",
|
.name = "sdsprpc-smd",
|
||||||
.subsys = "dsps",
|
.subsys = "dsps",
|
||||||
|
@ -271,6 +278,12 @@ static struct fastrpc_channel_ctx gcinfo[NUM_CHANNELS] = {
|
||||||
.link.link_info.transport = "smem",
|
.link.link_info.transport = "smem",
|
||||||
.vmid = VMID_SSC_Q6,
|
.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)
|
static void fastrpc_buf_free(struct fastrpc_buf *buf, int cache)
|
||||||
|
|
Loading…
Add table
Reference in a new issue