<!-- Some styling for better description lists --><style type='text/css'>dt { font-weight: bold;float: left;display:inline;margin-right: 1em} dd { display:block; margin-left: 2em}</style> ***: syoung has quit IRC (Read error: Connection reset by peer) <br> syoung_ has joined #linux-media <br> jarthur has quit IRC (Quit: Textual IRC Client: www.textualapp.com) <br> ayaka_ has joined #linux-media <br> epoll has quit IRC (Ping timeout: 480 seconds) <br> epoll has joined #linux-media <br> mrpops2ko has quit IRC () <br> ayaka_ has quit IRC (Ping timeout: 480 seconds) <br> svarbanov has quit IRC (Remote host closed the connection) <br> svarbanov has joined #linux-media <br> mrpops2ko has joined #linux-media <br> ayaka_ has joined #linux-media <br> xecutertool has joined #linux-media <br> xecutercmd has quit IRC (Ping timeout: 480 seconds) <br> chewitt has joined #linux-media <br> ayaka_ has quit IRC (Ping timeout: 480 seconds) <br> ayaka_ has joined #linux-media <br> svarbanov_ has joined #linux-media <br> ayaka_ has quit IRC (Ping timeout: 480 seconds) <br> svarbanov has quit IRC (Ping timeout: 480 seconds) <br> svarbanov_ has quit IRC (Ping timeout: 480 seconds) <br> svarbanov has joined #linux-media <br> jmassot has joined #linux-media <br> djrscally has joined #linux-media <br> GBenji has joined #linux-media <br> sgruszka has joined #linux-media <br> ao2 has joined #linux-media <br> ayaka_ has joined #linux-media <br> svarbanov has quit IRC (Ping timeout: 480 seconds) <br> svarbanov has joined #linux-media <br> ao2 has quit IRC (Quit: Leaving) <br> sgruszka has quit IRC (Ping timeout: 480 seconds) <br> frieder has joined #linux-media <br> Mo has joined #linux-media <br> mripard has joined #linux-media <br> hansg has joined #linux-media <br> hansg has quit IRC (Read error: Connection reset by peer) <br> hansg has joined #linux-media <br> sgruszka has joined #linux-media <br> frieder has quit IRC (Ping timeout: 480 seconds) <br> frieder has joined #linux-media <br> Mo has quit IRC (Remote host closed the connection) <br> charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) <br> hansg has quit IRC (Read error: Connection reset by peer) <br> sgruszka has quit IRC (Read error: Connection reset by peer) <br> sgruszka has joined #linux-media <br> zxrom has joined #linux-media <br> ayaka_ has quit IRC (Ping timeout: 480 seconds) <br> hansg has joined #linux-media <br> sgruszka has quit IRC (Ping timeout: 480 seconds) <br> frieder has quit IRC (Ping timeout: 480 seconds) <br> eelstrebor has joined #linux-media <br> frieder has joined #linux-media 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 <br> v4l2_get_link_freq(). <br> 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? 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 ? <br> Aha except - I think your point is - the MUX should check it's connected device right? <br> Now I wonder what happens if the mux has multiple devices connected with different rates ... <br> (Hopefully that would get handled when switching/reconfiguring the pipeline) 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. kbingham: tomba, Sounds like the responsibility of the mux driver to me. <br> Is that driver upstream? <br> (I assume this is the Arducam video mux in RPi's tree at a guess) tomba: Hmm I don't think so. Yes, some arducam mux. kbingham: either we need to fix /all/ CSI2 receivers to do the same walk, or we need to fix ... the one mux ;-) tomba: when you put it that way, the 1) sounds like the only sensible option =) ***: charrus has joined #linux-media <br> charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) <br> hansg has quit IRC (Quit: Leaving) <br> ten157237743246305 has quit IRC (Remote host closed the connection) <br> ten157237743246305 has joined #linux-media <br> darkapex1 has quit IRC (Ping timeout: 480 seconds) <br> lplc has quit IRC (Quit: WeeChat 4.2.1) <br> lau has joined #linux-media <br> lau has quit IRC () <br> lplc has joined #linux-media <br> sgruszka has joined #linux-media <br> BrianG61UK has quit IRC (Ping timeout: 480 seconds) <br> BrianG61UK has joined #linux-media <br> ezequielg__ is now known as ezequielg <br> hansg has joined #linux-media <br> jarthur has joined #linux-media <br> charrus has joined #linux-media <br> ten157237743246305 has quit IRC (Remote host closed the connection) <br> ten157237743246305 has joined #linux-media <br> CattleProdigy has joined #linux-media <br> charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) <br> hansg has quit IRC (Quit: Leaving) <br> frieder has quit IRC (Remote host closed the connection) <br> eelstrebor has quit IRC (Quit: Ex-Chat) <br> charrus has joined #linux-media <br> BrianG61UK has quit IRC (Ping timeout: 480 seconds) <br> BrianG61UK has joined #linux-media <br> GBenji has left <br> jarthur has quit IRC (Ping timeout: 480 seconds) <br> jarthur has joined #linux-media <br> CattleProdigy has quit IRC (Remote host closed the connection) <br> CattleProdigy has joined #linux-media <br> sgruszka has quit IRC (Ping timeout: 480 seconds) <br> charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) <br> ao2 has joined #linux-media <br> charrus has joined #linux-media <br> tonyk has joined #linux-media <br> ten157237743246305 has quit IRC (Remote host closed the connection) <br> ten157237743246305 has joined #linux-media <br> chewitt has quit IRC (Quit: Zzz..) <br> CattleProdigy has quit IRC (Remote host closed the connection) <br> charrus has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) <br> charrus has joined #linux-media <br> ten157237743246305 has quit IRC (Remote host closed the connection) <br> ten157237743246305 has joined #linux-media <br> ao2 has quit IRC (Quit: Leaving) <br> ayaka_ has joined #linux-media <br> djrscally has quit IRC (Ping timeout: 480 seconds)