diff options
| author | Skylar Chang <chiaweic@codeaurora.org> | 2016-04-12 16:53:17 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-04-27 19:04:46 -0700 |
| commit | 81d9bef7e6c95d4be648e994de7960f46a23a078 (patch) | |
| tree | 775091bc05dac50da255d938d8cc4087d9663ce5 /include/linux | |
| parent | 710b2695c142e338e37b8f4fe5481728f3acff40 (diff) | |
msm: ipa3: use user parameter for GSI ring len
Calculate GSI ring length based on the input parameter to
setup pipe API.
Change-Id: I151400624f374262a955a04d211a96c43feb6d98
CRs-Fixed: 996292
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/ipa.h b/include/linux/ipa.h index 3a87177b623f..0dd2f0bf9c23 100644 --- a/include/linux/ipa.h +++ b/include/linux/ipa.h @@ -524,7 +524,11 @@ struct ipa_ext_intf { * in system-BAM mode * @ipa_ep_cfg: IPA EP configuration * @client: the type of client who "owns" the EP - * @desc_fifo_sz: size of desc FIFO + * @desc_fifo_sz: size of desc FIFO. This number is used to allocate the desc + * fifo for BAM. For GSI, this size is used by IPA driver as a + * baseline to calculate the GSI ring size in the following way: + * For PROD pipes, GSI ring is 4 * desc_fifo_sz. + For PROD pipes, GSI ring is 2 * desc_fifo_sz. * @priv: callback cookie * @notify: callback * priv - callback cookie |
