diff options
author | Vinay Kalia <vinaykalia@google.com> | 2023-05-12 18:22:19 +0000 |
---|---|---|
committer | Vinay Kalia <vinaykalia@google.com> | 2023-05-12 18:22:19 +0000 |
commit | 09c8e2fad19448f3e301dfdc017f775194e005a6 (patch) | |
tree | 4978a6c903db111f259a382c6971ee96b372b7fb | |
parent | a76c2b5330bd7b0e6ad2bc5be36ae09ce80b1409 (diff) | |
download | gchips-09c8e2fad19448f3e301dfdc017f775194e005a6.tar.gz |
bigwave: Add interface to skip cache operations on map/unmap
Map/unmap performance cache operations on whole buffer which is not
always required. Performance can be improved if these cache operataions
are done only on the portion of buffer which contans relevant data. So,
add a interface to skip cache operations on map/unmap. If cache
operations are required then client can explicitly call partial cache
operations for better performance.
bug: 279537928
Change-Id: I0bb72844f0d20f7485a7344a1d8298e1532573d6
Signed-off-by: Vinay Kalia <vinaykalia@google.com>
-rw-r--r-- | include/uapi/linux/bigo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/bigo.h b/include/uapi/linux/bigo.h index c9362c2..f2f46e1 100644 --- a/include/uapi/linux/bigo.h +++ b/include/uapi/linux/bigo.h @@ -34,6 +34,7 @@ struct bigo_ioc_mapping { __u32 iova; __u32 offset; __u32 size; + __u32 skip_cmo; }; struct bigo_ioc_frmsize { |