mirror of https://github.com/torvalds/linux.git
The v4l2_fh associated with an open file handle is now guaranteed to be available in file->private_data, initialised by v4l2_fh_add(). Access the v4l2_fh, and from there the driver-specific structure, from the file * in all ioctl handlers. While at modify mtk_vcodec_enc_get_chip_name() to accept a ctx instead of a raw void *. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Co-developed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org> |
||
|---|---|---|
| .. | ||
| venc | ||
| Makefile | ||
| mtk_vcodec_enc.c | ||
| mtk_vcodec_enc.h | ||
| mtk_vcodec_enc_drv.c | ||
| mtk_vcodec_enc_drv.h | ||
| mtk_vcodec_enc_pm.c | ||
| mtk_vcodec_enc_pm.h | ||
| venc_drv_base.h | ||
| venc_drv_if.c | ||
| venc_drv_if.h | ||
| venc_ipi_msg.h | ||
| venc_vpu_if.c | ||
| venc_vpu_if.h | ||