linux/drivers/media/platform/ti-vpe
Nikhil Devshatwar 655e465671 [media] media: ti-vpe: vpe: configure line mode separately
Current driver configures the line mode of the DEI clients
from the open function directly. Even if the newly created context
is not yet scheduled, it updates some of the VPDMA registers.
This causes a problem in multi instance use case where just opening
the m2m device second time causes the running job to stall. This
happens especially if the source buffers used are NV12.

While all other configuration is being written to context specific
shadow registers, only line mode configuration is happening directly.

As there is no shadow register for line mode configuration, it's better
to separate the config_mode setting and line_mode setting. Call the
new "set_line_modes" functions only when actually loading the mmrs.
This makes sure that no non-running job will write to the registers
directly.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-22 07:56:02 -02:00
..
Makefile [media] media: ti-vpe: vpdma: Make vpdma library into its own module 2016-11-22 06:24:25 -02:00
cal.c [media] media: platform: ti-vpe: call of_node_put on non-null pointer 2016-11-18 14:23:33 -02:00
cal_regs.h [media] media: ti-vpe: Add CAL v4l2 camera capture driver 2016-02-01 08:45:26 -02:00
csc.c [media] ti-vpe: fix sparse warnings 2014-11-05 09:09:26 -02:00
csc.h [media] v4l: ti-vpe: Add helper to perform color conversion 2014-01-07 06:57:08 -02:00
sc.c [media] ti-vpe: fix sparse warnings 2014-11-05 09:09:26 -02:00
sc.h [media] v4l: ti-vpe: enable basic scaler support 2014-01-07 06:55:35 -02:00
sc_coeff.h [media] v4l: ti-vpe: support loading of scaler coefficients 2014-01-07 06:54:48 -02:00
vpdma.c [media] media: ti-vpe: vpdma: Clear IRQs for individual lists 2016-11-22 07:49:55 -02:00
vpdma.h [media] media: ti-vpe: vpdma: Clear IRQs for individual lists 2016-11-22 07:49:55 -02:00
vpdma_priv.h [media] media: ti-vpe: vpdma: Add support for setting max width height 2016-11-22 07:10:49 -02:00
vpe.c [media] media: ti-vpe: vpe: configure line mode separately 2016-11-22 07:56:02 -02:00
vpe_regs.h [media] v4l: ti-vpe: create a color space converter block library 2014-01-07 06:56:18 -02:00