mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
necessarypinch has quit [Quit: The Lounge - https://thelounge.chat]
naoki has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
diederik has quit [Ping timeout: 248 seconds]
valpackett has joined #linux-rockchip
digetx has quit [Quit: No Ping reply in 180 seconds.]
digetx has joined #linux-rockchip
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
digetx has joined #linux-rockchip
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
digetx has joined #linux-rockchip
Mad3 has quit [Ping timeout: 252 seconds]
Mad3 has joined #linux-rockchip
eballetbo has joined #linux-rockchip
* Ermine stares at CONFIG_DMABUF_CACHE
valpackett has quit [Remote host closed the connection]
raster has joined #linux-rockchip
stikonas has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki1 has joined #linux-rockchip
naoki1 is now known as naoki
System_Error has quit [*.net *.split]
diederik has joined #linux-rockchip
diederik has quit [Quit: Going to see what happens IRL, see ya!]
diederik has joined #linux-rockchip
cbeznea has joined #linux-rockchip
paulk has quit [Ping timeout: 260 seconds]
paulk has joined #linux-rockchip
paulk has quit [Changing host]
paulk has joined #linux-rockchip
jaganteki has joined #linux-rockchip
Guest16 has joined #linux-rockchip
<Guest16> Hello!
<Guest16> I'm attempting to get cpufreq-dt up  and running on RK3566(Radxa Zero 3W) but cpufreq-dt defers due to CPU Clocks being unavailable.
<Guest16> I get this
<Guest16> ```
<Guest16> [    2.548026] scmi_protocol scmi_dev.1: Timeout waiting for a free TX channel !
<Guest16> ```
<Guest16> Im using Linux 6.12.35 and TF-A v2.12.
<Guest16> Is there any way i can debug the reason why SCMI TX fails? I've seen issues with SCMI on rkbin BL31/2 but I am using TF-A
<Guest16> Thanks!
Stat_headcrabbed has joined #linux-rockchip
<diederik> Do you have SCMI support enabled in your kernel?
Guest16 has quit [Quit: Client closed]
Guest16 has joined #linux-rockchip
<Guest16> diederik yeah. i have CONFIG_ARM_SCMI_PROTOCOL set to y
<robmur01> that's the kernel SCMI driver probing, so yes. Probably something off with the DT description or the firmware itself
<Guest16> hmm alright, although the scmi defns are from the mainline rk356x-base.dtsi so I wouldnt expect anything to be off
<robmur01> from the look of that function, it's waiting for firmware to write to shared memory, and not seeing it
<Guest16> ah interesting. could this need the iommu or something? apologies if i dont make much sense
<robmur01> so most likely either the DT and firmware disagree about the shmem location, or firmware's just broken
<diederik> If you grep your config for ARM_SCMI, what does it return?
<Guest16> would it be time to take a look at TF-A  and uboot?
<diederik> how could I forget ... TF-A may be the problem: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/31265
<qschulz> CyReVolt: mmm somehow your multiline message appeared just fine (as multiple mesages), so I'm wondering what makes the matrix bridge use a link instead of posting the whole message on IRC?
<diederik> not sure if it's relevant, but I have CONFIG_ARM_SCMI_POWER_CONTROL also enabled (and IIO_SCMI and PINCTRL_SCMI)
<Guest16> diederik thanks! will take a look at that!
<Guest16> qschulz i honestly have no idea what you are talking about. sorry if i am not supposed to send multilines. i am not that brushed up with irc ettiquete
<robmur01> diederik: if it's failing to even get the version for the base protocol, it's not worth worrying about other protocols yet
<diederik> robmur01: yeah, makes sense. Thanks :)
<robmur01> the question at this point is "does this firmware even implement SCMI?"
<qschulz> Guest16: this was a message to CyReVolt about their message yesterday :)
<diederik> Guest16: ``dmesg | grep -i scmi`` on my Quartz64-A (rk3566): https://paste.debian.net/1389145/
<Guest16> qschulz oops!
<Guest16> diederik thanks! do you use TF-A and the patch?
<diederik> reasonably sure I'm not on that device (but use rkbin blob) ...
<Guest16> ahh you use the rkbin bl31/2? makes sense!
<diederik> But (a while ago) I did use/try it on my PineTab2 which is also rk3566: https://paste.sr.ht/~diederik/f04fd93b898db196019cfd4638ea1133a94b3967
naoki has quit [Quit: naoki]
<diederik> And 'TF-SCMI' is upstream TF-A + the patch I linked earlier
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<Guest16> got it!
<Guest16> diederik thanks! cpufreq-dt works now!
<diederik> \o/
stikonas has quit [Remote host closed the connection]
<Ermine> seems like this dmabuf-chache thing invented by rockchip is safe to turn off
jaganteki has quit [Quit: Client closed]
System_Error has joined #linux-rockchip
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #linux-rockchip
<CyReVolt> sre: sorry, I cannot receive your IRC DM. If you're also on Matrix, or some other channel, please try that. =)
necessarypinch has joined #linux-rockchip
Stat_headcrabbed has joined #linux-rockchip
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
Guest16 has quit [Ping timeout: 252 seconds]
Stat_headcrabbed has joined #linux-rockchip
eballetbo has quit [Quit: Connection closed for inactivity]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
stikonas has joined #linux-rockchip
Dex2x has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
Dex2x has joined #linux-rockchip
vagrantc has joined #linux-rockchip
jaganteki has joined #linux-rockchip
necessarypinch has quit [Ping timeout: 240 seconds]
necessarypinch has joined #linux-rockchip
cbeznea has quit [Ping timeout: 272 seconds]
warpme has joined #linux-rockchip
<warpme> detlevc: fyi: i got another 3576 device to play with vdpu383 (rock4d). And this device has symptoms like my first one (green lines on majority playbacks). By curiosity i tried video pipeline without dmabuf (ffmpeg out is mem copied to egl buf) and... all plays nicely. This tells me (so far) issue of "green lines" is maybe not of decoder issue but rather by dma transfers between decoder out and egl bufs? (or in this area)....
<warpme> more nad more i suspect i.e. memory timing issues impacting dma memory arbitration between multiple requestors (or something like this....)
<detlevc> warpme: I've also not discarded an issue on the display side or in between. It is still early days for some drivers
<detlevc> warpme memory timing seems unlikely, I'v been doing tests with gstreamer with 4k@60fp videos and all was smooth
<warpme> hmm - 4k@60 - i assume it was direct-to-plane (wasn't that decoded frame was on display plane mem so no any dma transfers?)
jaganteki has quit [Quit: Client closed]
ungeskriptet has quit [Ping timeout: 272 seconds]
ungeskriptet has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has quit [Quit: Gettin' stinky!]
paulk has quit [Ping timeout: 272 seconds]
paulk has joined #linux-rockchip