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> |
||
|---|---|---|
| .. | ||
| vdec | ||
| Makefile | ||
| mtk_vcodec_dec.c | ||
| mtk_vcodec_dec.h | ||
| mtk_vcodec_dec_drv.c | ||
| mtk_vcodec_dec_drv.h | ||
| mtk_vcodec_dec_hw.c | ||
| mtk_vcodec_dec_hw.h | ||
| mtk_vcodec_dec_pm.c | ||
| mtk_vcodec_dec_pm.h | ||
| mtk_vcodec_dec_stateful.c | ||
| mtk_vcodec_dec_stateless.c | ||
| vdec_drv_base.h | ||
| vdec_drv_if.c | ||
| vdec_drv_if.h | ||
| vdec_ipi_msg.h | ||
| vdec_msg_queue.c | ||
| vdec_msg_queue.h | ||
| vdec_vpu_if.c | ||
| vdec_vpu_if.h | ||