mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
msm: ipa4: Update mask and shift values for aggr force close register
Because of not updated mask and shift value, IPA HW not able to process the forcce close command and asserting with invalid command offset. Add changes to update mask and shift values for aggregation force close register. Change-Id: I19164a32c6a5d49fb005c4a09eb95a23a5d4b6ec Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
This commit is contained in:
parent
7db9be171f
commit
c210ced674
2 changed files with 7 additions and 0 deletions
|
|
@ -3659,6 +3659,11 @@ void ipahal_get_aggr_force_close_valmask(int ep_idx,
|
|||
IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_SHFT_V4_5;
|
||||
bmsk =
|
||||
IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_BMSK_V4_5;
|
||||
} else if (ipahal_ctx->hw_type <= IPA_HW_v4_7) {
|
||||
shft =
|
||||
IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_SHFT_V4_7;
|
||||
bmsk =
|
||||
IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_BMSK_V4_7;
|
||||
}
|
||||
|
||||
if (ep_idx > (sizeof(valmask->val) * 8 - 1)) {
|
||||
|
|
|
|||
|
|
@ -139,6 +139,8 @@ int ipahal_reg_init(enum ipa_hw_type ipa_hw_type);
|
|||
#define IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_SHFT_V4_2 0
|
||||
#define IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_BMSK_V4_5 0x7fffffff
|
||||
#define IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_SHFT_V4_5 0
|
||||
#define IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_BMSK_V4_7 0x7fffff
|
||||
#define IPA_AGGR_FORCE_CLOSE_AGGR_FORCE_CLOSE_PIPE_BITMAP_SHFT_V4_7 0
|
||||
|
||||
/* IPA_ENDP_INIT_ROUTE_n register */
|
||||
#define IPA_ENDP_INIT_ROUTE_n_ROUTE_TABLE_INDEX_BMSK 0x1f
|
||||
|
|
|
|||
Loading…
Reference in a new issue