[00:32] *** zxrom has quit IRC () [00:38] *** syoung has quit IRC (Read error: Connection reset by peer) [00:38] *** syoung_ has joined #linux-media [01:17] *** jarthur has quit IRC (Quit: Textual IRC Client: www.textualapp.com) [01:26] *** ayaka_ has joined #linux-media [02:12] *** epoll has quit IRC (Ping timeout: 480 seconds) [02:21] *** epoll has joined #linux-media [04:03] *** mrpops2ko has quit IRC () [04:09] *** ayaka_ has quit IRC (Ping timeout: 480 seconds) [04:11] *** svarbanov has quit IRC (Remote host closed the connection) [04:11] *** svarbanov has joined #linux-media [04:15] *** mrpops2ko has joined #linux-media [04:30] *** ayaka_ has joined #linux-media [04:31] *** xecutertool has joined #linux-media [04:37] *** xecutercmd has quit IRC (Ping timeout: 480 seconds) [04:44] *** chewitt has joined #linux-media [04:53] *** ayaka_ has quit IRC (Ping timeout: 480 seconds) [05:33] *** ayaka_ has joined #linux-media [06:19] *** svarbanov_ has joined #linux-media [06:20] *** ayaka_ has quit IRC (Ping timeout: 480 seconds) [06:26] *** svarbanov has quit IRC (Ping timeout: 480 seconds) [06:29] *** svarbanov_ has quit IRC (Ping timeout: 480 seconds) [06:30] *** svarbanov has joined #linux-media [06:59] *** jmassot has joined #linux-media [07:01] *** djrscally has joined #linux-media [07:11] *** GBenji has joined #linux-media [07:24] *** sgruszka has joined #linux-media [07:38] *** ao2 has joined #linux-media [07:52] *** ayaka_ has joined #linux-media [07:58] *** svarbanov has quit IRC (Ping timeout: 480 seconds) [08:02] *** svarbanov has joined #linux-media [08:09] *** ao2 has quit IRC (Quit: Leaving) [08:12] *** sgruszka has quit IRC (Ping timeout: 480 seconds) [08:16] *** frieder has joined #linux-media [08:35] *** Mo has joined #linux-media [09:10] *** mripard has joined #linux-media [09:14] *** hansg has joined #linux-media [09:21] *** hansg has quit IRC (Read error: Connection reset by peer) [09:22] *** hansg has joined #linux-media [09:24] *** sgruszka has joined #linux-media [09:39] *** frieder has quit IRC (Ping timeout: 480 seconds) [09:48] *** frieder has joined #linux-media [09:50] *** Mo has quit IRC (Remote host closed the connection) [10:17] *** charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) [10:27] *** hansg has quit IRC (Read error: Connection reset by peer) [10:32] *** sgruszka has quit IRC (Read error: Connection reset by peer) [10:33] *** sgruszka has joined #linux-media [10:33] *** zxrom has joined #linux-media [10:51] *** ayaka_ has quit IRC (Ping timeout: 480 seconds) [12:26] *** hansg has joined #linux-media [12:50] *** sgruszka has quit IRC (Ping timeout: 480 seconds) [12:51] *** frieder has quit IRC (Ping timeout: 480 seconds) [12:52] *** eelstrebor has joined #linux-media [13:00] *** frieder has joined #linux-media [13:06] <tomba> A driver in RaspberryPi BSP kernel uses v4l2_get_link_freq(), but instead of just calling it in the source device, it walks the graph upstream until it finds a subdev that has V4L2_CID_LINK_FREQ or V4L2_CID_PIXEL_RATE. Apparently this is used to handle the case where there's a simple mux subdevice between the csi2 rx and the sensor, and the mux doesn't implement much at all in terms of v4l2 functionality so it's skipped for the [13:06] <tomba> v4l2_get_link_freq(). [13:07] <tomba> I think either 1) the mux subdev should implement the required controls, as it is a csi-2 source, or 2) the framework should have a helper function that does all the graph walk for you. I'd go with 1). Thoughts? [13:10] <kbingham> tomba, I think we'll see this more often on other platforms which may need a helper. Isn't the mux-subdev just a passthrough device though ? [13:11] <kbingham> Aha except - I think your point is - the MUX should check it's connected device right? [13:11] <kbingham> Now I wonder what happens if the mux has multiple devices connected with different rates ... [13:11] <kbingham> (Hopefully that would get handled when switching/reconfiguring the pipeline) [13:13] <tomba> yes, in 1) the mux would implement the required controls, and basically just forward the call to its source. And it's not only about link_freq. Also get_frame_desc needs similar treatment. Either we need to walk the graph (somehow. how to decide which pad to follow if there are multiple?) or the driver should forward the get_frame_desc call. [13:16] <kbingham> tomba, Sounds like the responsibility of the mux driver to me. [13:16] <kbingham> Is that driver upstream? [13:17] <kbingham> (I assume this is the Arducam video mux in RPi's tree at a guess) [13:17] <tomba> Hmm I don't think so. Yes, some arducam mux. [13:18] <kbingham> either we need to fix /all/ CSI2 receivers to do the same walk, or we need to fix ... the one mux ;-) [13:19] <tomba> when you put it that way, the 1) sounds like the only sensible option =) [14:00] *** charrus has joined #linux-media [14:20] *** charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) [14:45] *** hansg has quit IRC (Quit: Leaving) [14:52] *** ten157237743246305 has quit IRC (Remote host closed the connection) [14:53] *** ten157237743246305 has joined #linux-media [14:54] *** darkapex1 has quit IRC (Ping timeout: 480 seconds) [15:06] *** lplc has quit IRC (Quit: WeeChat 4.2.1) [15:06] *** lau has joined #linux-media [15:07] *** lau has quit IRC () [15:08] *** lplc has joined #linux-media [15:22] *** sgruszka has joined #linux-media [15:38] *** BrianG61UK has quit IRC (Ping timeout: 480 seconds) [15:39] *** BrianG61UK has joined #linux-media [15:39] *** ezequielg__ is now known as ezequielg [15:42] *** hansg has joined #linux-media [16:16] *** jarthur has joined #linux-media [16:18] *** charrus has joined #linux-media [16:22] *** ten157237743246305 has quit IRC (Remote host closed the connection) [16:22] *** ten157237743246305 has joined #linux-media [16:28] *** CattleProdigy has joined #linux-media [16:37] *** charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) [16:44] *** hansg has quit IRC (Quit: Leaving) [16:48] *** frieder has quit IRC (Remote host closed the connection) [16:48] *** eelstrebor has quit IRC (Quit: Ex-Chat) [16:59] *** charrus has joined #linux-media [17:17] *** BrianG61UK has quit IRC (Ping timeout: 480 seconds) [17:19] *** BrianG61UK has joined #linux-media [17:25] *** GBenji has left [17:27] *** jarthur has quit IRC (Ping timeout: 480 seconds) [17:37] *** jarthur has joined #linux-media [17:50] *** CattleProdigy has quit IRC (Remote host closed the connection) [18:07] *** CattleProdigy has joined #linux-media [18:17] *** sgruszka has quit IRC (Ping timeout: 480 seconds) [18:23] *** charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) [18:25] *** ao2 has joined #linux-media [18:29] *** charrus has joined #linux-media [18:29] *** tonyk has joined #linux-media [18:37] *** ten157237743246305 has quit IRC (Remote host closed the connection) [18:38] *** ten157237743246305 has joined #linux-media [18:53] *** chewitt has quit IRC (Quit: Zzz..) [20:46] *** CattleProdigy has quit IRC (Remote host closed the connection) [21:08] *** charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) [21:12] *** charrus has joined #linux-media [21:48] *** ten157237743246305 has quit IRC (Remote host closed the connection) [21:50] *** ten157237743246305 has joined #linux-media [21:54] *** ao2 has quit IRC (Quit: Leaving) [23:55] *** ayaka_ has joined #linux-media [23:59] *** djrscally has quit IRC (Ping timeout: 480 seconds)