Explorar o código

Merge "msm: ipa: configure right HPS DPS sequence for QDSS PROD"

qctecmdr %!s(int64=3) %!d(string=hai) anos
pai
achega
cc367777e8

+ 1 - 0
drivers/platform/msm/ipa/ipa_v3/ipa_mhi.c

@@ -303,6 +303,7 @@ static int ipa_mhi_start_gsi_channel(enum ipa_client_type client,
 		ch_props.use_db_eng = GSI_CHAN_DB_MODE;
 
 	ch_props.db_in_bytes = 1;
+	ch_props.low_latency_en = 0;
 	ch_props.max_prefetch = GSI_ONE_PREFETCH_SEG;
 	ch_props.low_weight = 1;
 	ch_props.prefetch_mode = ep_cfg->prefetch_mode;

+ 2 - 0
drivers/platform/msm/ipa/ipa_v3/ipa_qdss.c

@@ -127,6 +127,8 @@ int ipa3_conn_qdss_pipes(struct ipa_qdss_conn_in_params *in,
 	gsi_channel_props.ring_len = in->desc_fifo_size;
 	gsi_channel_props.ring_base_addr =
 			in->desc_fifo_base_addr;
+	gsi_channel_props.db_in_bytes = 1;
+	gsi_channel_props.low_latency_en = 0;
 	result = gsi_alloc_channel(&gsi_channel_props, ipa3_ctx->gsi_dev_hdl,
 				&ep_rx->gsi_chan_hdl);
 	if (result != GSI_STATUS_SUCCESS) {

+ 2 - 2
drivers/platform/msm/ipa/ipa_v3/ipa_utils.c

@@ -4401,8 +4401,8 @@ static const struct ipa_ep_configuration ipa3_ep_mapping
 			IPA_TX_INSTANCE_NA },
 	[IPA_5_0_MHI][IPA_CLIENT_QDSS_PROD] = {
 			true,   IPA_v5_0_GROUP_QDSS,
-			true,
-			IPA_DPS_HPS_SEQ_TYPE_2ND_PKT_PROCESS_PASS_NO_DEC_UCP,
+			false,
+			IPA_DPS_HPS_SEQ_TYPE_DMA_ONLY,
 			QMB_MASTER_SELECT_DDR,
 			{ 8 , 18, 4 , 8, IPA_EE_AP, GSI_ESCAPE_BUF_ONLY, 0},
 			IPA_TX_INSTANCE_NA },