linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* adv7280: Scrolling images on imx6
@ 2021-04-26 16:14 Fabio Estevam
  2021-04-27 13:27 ` Fabio Estevam
  2021-04-27 15:20 ` Tim Harvey
  0 siblings, 2 replies; 12+ messages in thread
From: Fabio Estevam @ 2021-04-26 16:14 UTC (permalink / raw)
  To: Tim Harvey; +Cc: Steve Longerbeam, Philipp Zabel, linux-media, Schrempf Frieder

Hi Tim,

I am back at trying to get a proper image captured by the ADV7280 on
an imx6dl board connected to the parallel CSI bus.

I tried your patches against 5.4 and 5.12:

https://github.com/Gateworks/linux-imx6/commit/959fbd4
and
https://patchwork.kernel.org/project/linux-media/patch/20190827215539.1286-1-mmichilot@gateworks.com/

,but I am still getting horizontal scrolling images after running:

media-ctl -l "'adv7180 0-0020':0 -> 'ipu1_csi1_mux':4[1]"
media-ctl -l "'ipu1_csi1_mux':5 -> 'ipu1_csi1':0[1]"
media-ctl -l "'ipu1_csi1':1 -> 'ipu1_vdic':0[1]"
media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]"
media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]"
media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]"
media-ctl -V "'adv7180 0-0020':0 [fmt:UYVY2X8/640x480 field:seq-tb]"
media-ctl -V "'ipu1_csi1_mux':5 [fmt:UYVY2X8/640x480]"
media-ctl -V "'ipu1_csi1':1 [fmt:AYUV32/640x480]"
media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/640x480 field:none]"
media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/640x480 field:none]"
media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/640x480 field:none]"
v4l2-ctl -d2 --set-fmt-video=field=none

gst-launch-1.0 v4l2src device=/dev/video2 ! kmssink

Also, I saw your commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.12&id=9483a3f8e1b58ba1d7cd21687d8d0a63a015c36b

,but adv7180_get_skip_frames() does not get called. Is there any
missing patch from the mix csi driver that should call
g_skip_frames()?

Any suggestions?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-05-21 14:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 16:14 adv7280: Scrolling images on imx6 Fabio Estevam
2021-04-27 13:27 ` Fabio Estevam
2021-04-27 13:33   ` Frieder Schrempf
2021-04-27 13:47     ` Fabio Estevam
2021-04-27 14:15       ` Frieder Schrempf
2021-04-27 14:28         ` Fabio Estevam
2021-04-27 14:32           ` Frieder Schrempf
2021-04-27 15:20 ` Tim Harvey
2021-04-27 15:51   ` Fabio Estevam
2021-05-20 23:42     ` Fabio Estevam
2021-05-21 14:25       ` Tim Harvey
2021-05-21 14:33         ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).