Selaa lähdekoodia

msm:ipa:use separate event ring for low latency UL pipe

Setup a separate event ring for low latency UL pipe.

Change-Id: Ia7800457430f9d941587f4bffc9de3ff2b15ef2b
Bojun Pan 4 vuotta sitten
vanhempi
sitoutus
e32086115f
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

+ 4 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

@@ -3879,7 +3879,8 @@ static int ipa3_assign_policy(struct ipa_sys_connect_params *in,
 	bool apps_wan_cons_agg_gro_flag;
 	unsigned long aggr_byte_limit;
 
-	if (in->client == IPA_CLIENT_APPS_CMD_PROD) {
+	if (in->client == IPA_CLIENT_APPS_CMD_PROD ||
+		in->client == IPA_CLIENT_APPS_WAN_LOW_LAT_PROD) {
 		sys->policy = IPA_POLICY_INTR_MODE;
 		sys->use_comm_evt_ring = false;
 		return 0;
@@ -4719,6 +4720,8 @@ static int ipa_gsi_setup_channel(struct ipa_sys_connect_params *in,
 
 	if (in->client == IPA_CLIENT_APPS_WAN_CONS ||
 		in->client == IPA_CLIENT_APPS_WAN_COAL_CONS ||
+		in->client == IPA_CLIENT_APPS_WAN_LOW_LAT_CONS ||
+		in->client == IPA_CLIENT_APPS_WAN_LOW_LAT_PROD ||
 		in->client == IPA_CLIENT_APPS_WAN_PROD)
 		mem_flag = GFP_ATOMIC;