mbox series

[00/28] media: ti-vpe: cal: prepare for multistream support

Message ID 20210412113457.328012-1-tomi.valkeinen@ideasonboard.com (mailing list archive)
Headers show
Series media: ti-vpe: cal: prepare for multistream support | expand

Message

Tomi Valkeinen April 12, 2021, 11:34 a.m. UTC
Hi,

I'm working on adding multistream support to TI CAL driver. This series
is a preparation series: it does not add any new features, but adds
code needed for multistreaming. In other words, with this series the
driver works just like it used to.

The multistream code is not ready yet, but I'd like to start cleaning up
my work branch by getting the "probably ok" patches reviewed and
possibly merged.

 Tomi

Tomi Valkeinen (28):
  media: ti-vpe: cal: add g/s_parm for legacy API
  media: ti-vpe: cal: fix error handling in cal_camerarx_create
  media: ti-vpe: cal: remove unused cal_camerarx->dev field
  media: ti-vpe: cal: rename "sensor" to "source"
  media: ti-vpe: cal: move global config from cal_ctx_wr_dma_config to
    runtime resume
  media: ti-vpe: cal: use v4l2_get_link_freq
  media: ti-vpe: cal: add cal_ctx_prepare/unprepare
  media: ti-vpe: cal: change index and cport to u8
  media: ti-vpe: cal: Add PPI context
  media: ti-vpe: cal: Add pixel processing context
  media: ti-vpe: cal: rename cal_ctx->index to dma_ctx
  media: ti-vpe: cal: rename CAL_HL_IRQ_MASK
  media: ti-vpe: cal: clean up CAL_CSI2_VC_IRQ_* macros
  media: ti-vpe: cal: catch VC errors
  media: ti-vpe: cal: remove wait when stopping camerarx
  media: ti-vpe: cal: disable ppi and pix proc at ctx_stop
  media: ti-vpe: cal: allocate pix proc dynamically
  media: ti-vpe: cal: add 'use_pix_proc' field
  media: ti-vpe: cal: add cal_ctx_wr_dma_enable and fix a race
  media: ti-vpe: cal: add vc and datatype fields to cal_ctx
  media: ti-vpe: cal: fix cal_ctx_v4l2_register error handling
  media: ti-vpe: cal: set field always to V4L2_FIELD_NONE
  media: ti-vpe: cal: fix typo in a comment
  media: ti-vpe: cal: add mbus_code support to cal_mc_enum_fmt_vid_cap
  media: ti-vpe: cal: rename non-MC funcs to cal_legacy_*
  media: ti-vpe: cal: init ctx->v_fmt correctly in MC mode
  media: ti-vpe: cal: remove cal_camerarx->fmtinfo
  media: ti-vpe: cal: support 8 DMA contexts

 drivers/media/platform/ti-vpe/cal-camerarx.c | 157 ++++++-------
 drivers/media/platform/ti-vpe/cal-video.c    | 163 +++++++++----
 drivers/media/platform/ti-vpe/cal.c          | 232 ++++++++++++-------
 drivers/media/platform/ti-vpe/cal.h          |  37 +--
 drivers/media/platform/ti-vpe/cal_regs.h     |  51 +---
 5 files changed, 381 insertions(+), 259 deletions(-)