mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #linux-rockchip
repk has quit [Ping timeout: 252 seconds]
repk has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
linkmauve has left #linux-rockchip [Error from remote client]
hexdump0815 has joined #linux-rockchip
sL1pKn07 has quit [Ping timeout: 252 seconds]
sL1pKn07 has joined #linux-rockchip
alpernebbi has quit [Ping timeout: 252 seconds]
alpernebbi has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
franoosh has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has quit [Quit: Gettin' stinky!]
Hypfer67 has joined #linux-rockchip
Hypfer6 has quit [Ping timeout: 276 seconds]
Hypfer67 is now known as Hypfer6
<CounterPillow> Kwiboo: is the sdcard boost thing no longer needed on RK3576 with v2025.07-rc1?
<CounterPillow> Looks like yes
warpme has joined #linux-rockchip
<wens> Kwiboo: TIL devfreq has two options that can set this: suspend_freq and resume_freq
dsimic has quit [Ping timeout: 276 seconds]
dsimic has joined #linux-rockchip
<CounterPillow> Hmmm, RK3576 GPU in linux-next seems broken entirely right now anyway, I'm getting lots of job timeouts. I'll see if the issue isn't there in linux-next/stable and then bisect, I guess, otherwise the problem is with me and potentially my TF-A for all I know
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CounterPillow> "<CounterPillow> Looks like yes" <-- oops, I should clarify, what I meant there is "yes it's still needed"
<CounterPillow> Okay the GPU performance doesn't regress in linux-next. Kwiboo: "arm64: dts: rockchip: rk3576: Use scmi gpu clk as main GPU clock" reduces performance in a 1080p run of glmark2-es2-wayland -b terrain from "FPS: 10 FrameTime: 103.639 ms" to "FPS: 3 FrameTime: 369.858 ms"
<CounterPillow> To be clear, I only picked that patch, the rest of the history seemed unrelated to the rk3576.
<CounterPillow> In both cases, /sys/class/drm/renderD128/device/devfreq/27800000.gpu/cur_freq shows 950000000
<CounterPillow> I'm getting stuff like this in the kernel log https://0x0.st/8W6U.txt
raster has joined #linux-rockchip
ldevulder has quit [Ping timeout: 260 seconds]
ungeskriptet has quit [Ping timeout: 248 seconds]
<qschulz> wens: missed the "v2" in the subject for the v2 :)
<wens> qschulz: yeah, I botched the patman tags
<wens> anyway, I still have to split out defconfig changes for the two devices you mentioned, though it seems a bit more of a code churn
<wens> probably still good to make a commit to document the enablement though
<wens> but I don't have devices to test
<wens> I think it could either mess up mmc device ordering or boot scripts
<qschulz> wens: fair enough, you could just not patch them
<qschulz> or send another series asking their maintainers to look at them and say you've not tested them
<qschulz> like they are not a requirement for your series, so it's fair game to say you are not comfortable making the patches
ungeskriptet has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #linux-rockchip
wens has quit [Ping timeout: 240 seconds]
wens has joined #linux-rockchip
necessarypinch has quit [Quit: The Lounge - https://thelounge.chat]
necessarypinch has joined #linux-rockchip
<Kwiboo> CounterPillow: I think the sdcard boost may still be required for sd-card boot on rk3576, I should send a v2 of a mkimage series and rebase my brances ;-)
<Kwiboo> CounterPillow: thanks for testing the scmi clk patch on rk3576, will try to run some tests on a board, was not expecting such change
darfo_ has quit [Ping timeout: 276 seconds]
wens has quit [Ping timeout: 240 seconds]
wens has joined #linux-rockchip
<Kwiboo> CounterPillow: looks like the 950 mhz rate is not handled by tf-a and voltages does not match vendor kernel for gpu opp table for rk3576, so could be that the clk rate is kept at 200mhz even if rate was "changed" to 950mhz opp or similar
<CounterPillow> Oh, that's a good thought. I did notice the difference in voltages, it looks like we need to read GPU leakage info from OTP to set the voltages right?
darfo has joined #linux-rockchip
<Kwiboo> my understanding is that for opp where pvtpll is used the real rate used will depend on voltage, pvtpll ring length and silicon quality, and the use of leakage will mostly help with power savings, i.e. bad quality require higher voltage to reach rate and good quality require less voltage
<CounterPillow> yeah, so I guess we just need to set the voltage to the worst quality level for now?
<Kwiboo> so with a single voltage value the actual rate will be different depending on quality
<Kwiboo> yeah, any voltage should work, some boards will run faster than other boards, boogie pointed out that it is possible to read out current rate from pvtpll, based on an average of a number of samples, from CON3 (CAL_CNT) and STATUS1 regs, https://github.com/hbiyik/mmm/commit/9364076644b1ebf3db639f767b79f0a6a1d1f2fc
<Kwiboo> correction: from PVTPLL_CON1 and PVTPLL_STATUS1 regs
<CounterPillow> hmmm
<Kwiboo> with tf-a "set cal cnt = 24, T = 1us" the value in status1 / osc_cnt_avg is possible just the measured avg rate in mhz
vagrantc has joined #linux-rockchip
darfo has quit [Ping timeout: 248 seconds]
darfo has joined #linux-rockchip
vagrantc has quit [Quit: leaving]