video: driver: add support for query buf
Add handling for VIDIOC_QUERYBUF ioctl in driver. This can be used to query the status of a buffer at any time after buffers have been allocated with the VIDIOC_REQBUFS ioctl. Partially Fixes: v4l2-compliance: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF. Change-Id: Ifd014bd8a8b02ce9fa15c62d7583bc8bcfb6756a Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
@@ -34,6 +34,8 @@ int msm_v4l2_g_parm(struct file *file, void *fh,
|
||||
struct v4l2_streamparm *a);
|
||||
int msm_v4l2_reqbufs(struct file *file, void *fh,
|
||||
struct v4l2_requestbuffers *b);
|
||||
int msm_v4l2_querybuf(struct file *file, void *fh,
|
||||
struct v4l2_buffer *b);
|
||||
int msm_v4l2_qbuf(struct file *file, void *fh,
|
||||
struct v4l2_buffer *b);
|
||||
int msm_v4l2_dqbuf(struct file *file, void *fh,
|
||||
|
Reference in New Issue
Block a user