Browse Source

ipa: Fix drop count mask register name for IPA 5.0

The IPA_STAT_DROP_CNT_MASK_n is deprecated in IPAv5.0.
Changing it to IPA_STAT_DROP_CNT_MASK_EE_n_REG_k.

Change-Id: I6435af7fdb2140f633696b7644aaa7af05e73acf
Signed-off-by: Ilia Lin <[email protected]>
Ilia Lin 4 years ago
parent
commit
99fa34146b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_hw_stats.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_hw_stats.c

@@ -1872,7 +1872,7 @@ int ipa_init_drop_stats(u32 *pipe_bitmask)
 	} else {
 		for (i = 0; i < IPA5_PIPE_REG_NUM; i++) {
 			drop_mask.offset = ipahal_get_reg_nk_offset(
-				IPA_STAT_DROP_CNT_MASK_n,
+				IPA_STAT_DROP_CNT_MASK_EE_n_REG_k,
 				ipa3_ctx->ee, i);
 			drop_mask.value = pipe_bitmask[i];
 			drop_mask_pyld[i] = ipahal_construct_imm_cmd(