qcacmn: Add support to map generic shadow regs
Add apis to map generic registers to shadow region. Existing logic includes mapping only srng based regs to the shadow region. Add support to map REO control regs and WBM2SW2 rel ring HP reg address to the shadow region in case the direct reg writes in IPA enable/disable autonomy fail due to UMAC block being in a power collapsed state. Shadow reg mapping for these regs is provided to FW during init. Add stat shadow_reg_write_fail to track shadow reg write failure and shadow_reg_write_succ to track successful shadow writes. Change-Id: I04790765a3de80047689657e2cad0b73123440b9 CRs-Fixed: 2790321
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#ifdef IPA_OFFLOAD
|
||||
|
||||
#define DP_IPA_MAX_IFACE 3
|
||||
#define IPA_TX_COMP_RING_IDX 2
|
||||
#define IPA_REO_DEST_RING_IDX 3
|
||||
#define IPA_RX_REFILL_BUF_RING_IDX 2
|
||||
|
||||
|
Reference in New Issue
Block a user