Merge "Clarify format BLOB locking" am: 66cf51232c

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2381019

Change-Id: I6827723a8ee6ebe20dcb4462d3b4ce4abf7d4a51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-01-12 05:17:50 +00:00
committed by Automerger Merge Worker

View File

@@ -241,7 +241,9 @@ typedef struct AIMapperV5 {
* acceptable.
*
* 1D buffers (width = size in bytes, height = 1, pixel_format = BLOB) must
* "lock in place". The buffers must be directly accessible via mapping.
* "lock in place" and behave similar to shared memory. That is, multiple threads or processes
* may lock the buffer for reading & writing and the results must follow the device's memory
* model.
*
* The client must not modify the content of the buffer outside of
* @p accessRegion, and the device need not guarantee that content outside