summaryrefslogtreecommitdiff
path: root/src/cam/kms_sink.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-19 04:44:56 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-05 16:23:11 +0300
commit063c9969f502d133428639adbee9b864f22e2d6f (patch)
treef9dddab42fefa74fbfa4ba09072737c16f4467b9 /src/cam/kms_sink.h
parent6d7ddace52782a5a977cd9c37558c9078948e53e (diff)
cam: kms_sink: Enable display on first frame
Not all display controllers support enabling the display without any active plane. Delay display enabling to the first frame. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/kms_sink.h')
-rw-r--r--src/cam/kms_sink.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cam/kms_sink.h b/src/cam/kms_sink.h
index 0c01df40..072ef1c9 100644
--- a/src/cam/kms_sink.h
+++ b/src/cam/kms_sink.h
@@ -61,8 +61,6 @@ private:
libcamera::Size size_;
unsigned int stride_;
- bool planeInitialized_;
-
std::map<libcamera::FrameBuffer *, std::unique_ptr<DRM::FrameBuffer>> buffers_;
std::mutex lock_;