msm: ipa3: set GPI channels to DB mode

In order to enable prefetch control in GSI,
channels needs to be configured to doorbell mode.

CRs-Fixed: 1000819
Change-Id: I4847982f48b09de1690bb474db9a60e018e0c0d6
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This commit is contained in:
Skylar Chang 2016-04-19 10:19:09 -07:00 committed by Jeevan Shriram
parent 362a9cd138
commit a5e4baeeeb

View file

@ -3655,7 +3655,7 @@ static int ipa_gsi_setup_channel(struct ipa3_ep_context *ep)
ep->gsi_mem_info.chan_ring_base_vaddr =
gsi_channel_props.ring_base_vaddr;
gsi_channel_props.use_db_eng = GSI_CHAN_DIRECT_MODE;
gsi_channel_props.use_db_eng = GSI_CHAN_DB_MODE;
gsi_channel_props.max_prefetch = GSI_ONE_PREFETCH_SEG;
if (ep->client == IPA_CLIENT_APPS_CMD_PROD)
gsi_channel_props.low_weight = IPA_GSI_MAX_CH_LOW_WEIGHT;