jacobk has quit [Read error: Connection reset by peer]
jacobk has joined #linux-msm
jhovold has joined #linux-msm
zstas has joined #linux-msm
eugenhristev has quit [Remote host closed the connection]
zstas_ has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
jacobk_ has joined #linux-msm
jacobk is now known as Guest2228
jacobk_ is now known as jacobk
Guest2228 has quit [Ping timeout: 480 seconds]
srinik has joined #linux-msm
<z3ntu>
bryanodonoghue: didn't check much yet but rebasing my camera things on your "arm-laptop/wip/x1e80100-6.13-rc1+camss" branch gives me this error when starting the camera stream: [ 175.502226] qcom-camss acb3000.camss: could not sync v4l2 controls: -95
<z3ntu>
bryanodonoghue: definitely getting into the return -EOPNOTSUPP in csid_set_test_pattern. I will try dropping the other commits
<z3ntu>
bryanodonoghue: just 3e78a0a6 plus my patches works as expected
<bryanodonoghue>
ok thanks I've only really tested that branch on x1e - not across rb3, rb5, rb3-gen2 yet
<bryanodonoghue>
i had a few merge conflicts probably broke something in the resolve
<z3ntu>
hm one thing I'm noticing now is that media-ctl -p says the cam is linked with msm_csiphy0 even though in DTS I connect the endpoint to port@1 (so csiphy1)
<z3ntu>
bryanodonoghue: anyways, it works as expected when dropping just the TPG-optional commit, so I've got debugfs with the imx858 in higher resolution which just hangs. Not sure you can see anything useful there? https://public.lucaweiss.eu/tmp/camss-broken.txt
<z3ntu>
bryanodonoghue: actually something else is wrong with that branch, with the sensor driver that should work, I also don't get any picture, it just seems to hang
<z3ntu>
bryanodonoghue: oh, I think it's just "media: qcom: camss: Add an id property to struct resources" not including sc7280 when adding the IDs so I guess it's always 0
<bryanodonoghue>
ah yes that makes sense I haven't been carrying the 7280 patches in my tree until yesterday
<bryanodonoghue>
thx
<Tofe_>
I wonder, if I want to have a node in /dev for my uart device (a touchscreen), is it necessary to declare a "serial" alias, or is there another way? Currently I get a ttyMSM node, but I get strange data via uart (many more zero bits than expected), so I'm looking for clues
<Tofe_>
I mean, I don't really need a tty for this, just a device node
<z3ntu>
bryanodonoghue: also can confirm now with .id=0 to .id=4 added to csiphy_res_7280 it works fine, or at least as before without your patches
<z3ntu>
bryanodonoghue: for imx858 with higher resolution hanging, now CSID_CSI2_RX_TOTAL_PKTS_RCVD is going up, e.g. 0x00bb4756 but capture is still hanging. And vfe0 debugfs has 0 for all values so that's also not helpful
<z3ntu>
did we conclude something with the virtual channel stuff used with this mode, if this second stream of type PDAF might break this
<bryanodonoghue>
best place to discuss PDAF is #libcamera
<bryanodonoghue>
i.e. I'm not sure if the SoC needs to somehow interact with the autofocus or if its just magic in the sensor
<bryanodonoghue>
I'd imagine the SoC needs to be involved somehow more than just a magic write sequence to the sensor
<z3ntu>
bryanodonoghue: I'm happy just ignoring this PDAF stream for now and only taking the cam stream but I feel like (without any evidence) that the sensor sending this stream messes up the receiving side on qcom somehow
<bryanodonoghue>
I think that is sensible
<z3ntu>
actually I could try the 8192*6144@30fps (4:3) mode, that one only has one stream defined in the xml
<bryanodonoghue>
that should work
<z3ntu>
This virtual channel thing is part of CSI2 standard I imagine?
<z3ntu>
there's actually decent text in the CCS spec, reading now...
<z3ntu>
"17.4.2 Data Type PDAF Interleaving" based on the xml I'm guessing the init sequence is doing this
<z3ntu>
"17.4.1 Virtual Channel PDAF Interleaving" I'm guessing would be if the xml had vc=0 for 10-bit raw and vc=1 for PDAF
<Pan[m]>
<flamingradian[m]> "looking at your dmesg again..." <- im still struggling with this, i've checked every bit on the kernel, and every node seems okay, my guess is that i could be missing firmware files that are required on xiaomi devices but not on others (?, beryllium has these acdb and dsp folders that i don't have
<z3ntu>
bryanodonoghue: I'm also seeing there's some clamps to 8191 for height & width, is this some old limitation that's not applicable to the newer HW because this sensor mode is 8192x6144 and Android can also capture a 50MP photo?
<bryanodonoghue>
if jordan doesn't reup it would appreciate it if you could
<bryanodonoghue>
since you have hw to test
<z3ntu>
bryanodonoghue: I don't have 8250 but at least for the higher resolution patch, while it doesn't fail anymore during pipeline setup, it's also not actually capturing a frame, not sure what the problem is now again
<z3ntu>
hopefully I figure this out at some point soon, would be nice... :)