
This patch is to extend the related interface to support the request-based operations. We use extension fields in the parameters of MEDIA_IOC_SETUP_LINK, VIDIOC_S_FMT, VIDIOC_SUBDEV_S_SELECTION, VIDIOC_SUBDEV_S_FMT as request fd. The driver uses media_request_get_by_fd() to retrieve the media request and save the pending change in it, so that we can apply the pending change in req_queue() callback then. Besides, We also add three vendor hook functions to handle related changes in v4l2-framework. Bug: 187480619 Signed-off-by: Louis Kuo <louis.kuo@mediatek.com> Change-Id: I22762136f980afaec29be70c32cca8b04e0805a0
607 B
607 B