hardware: samsung_slsi: libcamera2: ion_map buffers for required case only
For the buffers which don't require to be handled with address,
don't ion_map them.
Bug: 7208003
Change-Id: Ibcbe29792a57065abd4fd8d266edb1faf077868d
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
diff --git a/libcamera2/ExynosCameraHWInterface2.h b/libcamera2/ExynosCameraHWInterface2.h
index 52af6ba..0433134 100644
--- a/libcamera2/ExynosCameraHWInterface2.h
+++ b/libcamera2/ExynosCameraHWInterface2.h
@@ -415,6 +415,7 @@
int bufIndex;
node_info_t *node;
int minUndequedBuffer;
+ bool needsIonMap;
} stream_parameters_t;
typedef struct substream_parameters {