msm: adsprpc: Cache invalidate optimization
Avoid double invalidate operation by changing flags in cache maintenance apis. Instead of invalidating whole buffer use partial cache maintenance apis to invalidate only for length user passed. Introducing offset based invalidate, when buffers have partial or full overlap, avoid invalidation for overlap. Cleaning inv_args_pre as there is no need for handling unaligned buffers separately. Change-Id: I7b38c3cfd924ab4f327c6dd664a087a4c9055dbb Acked-by:Deepika Singh <dsi@qti.qualcomm.com> Signed-off-by:
Merugu Tharun Kumar <mtharu@codeaurora.org>
Loading
Please register or sign in to comment