ChanServ changed the topic of #linux-msm to:
Daanct12 has joined #linux-msm
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
hexdump0815 has joined #linux-msm
hexdump01 has quit [Ping timeout: 480 seconds]
__lore__ has joined #linux-msm
Danct12 has quit [Remote host closed the connection]
_lore_ has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-msm
Daanct12 has quit [Read error: Connection reset by peer]
ungeskriptet75 has joined #linux-msm
ungeskriptet73 has joined #linux-msm
ungeskriptet71 has joined #linux-msm
ungeskriptet76 has joined #linux-msm
ungeskriptet70 has joined #linux-msm
ungeskriptet736 has joined #linux-msm
ungeskriptet77 has joined #linux-msm
ungeskriptet78 has joined #linux-msm
ungeskriptet768 has joined #linux-msm
ungeskriptet79 has joined #linux-msm
ungeskriptet7 has quit [Ping timeout: 480 seconds]
ungeskriptet75 has quit [Ping timeout: 480 seconds]
ungeskriptet799 has joined #linux-msm
ungeskriptet73 has quit [Ping timeout: 480 seconds]
ungeskriptet71 has quit [Ping timeout: 480 seconds]
ungeskriptet76 has quit [Ping timeout: 480 seconds]
ungeskriptet70 has quit [Ping timeout: 480 seconds]
ungeskriptet796 has joined #linux-msm
ungeskriptet736 has quit [Ping timeout: 480 seconds]
ungeskriptet77 has quit [Ping timeout: 480 seconds]
ungeskriptet78 has quit [Ping timeout: 480 seconds]
ungeskriptet768 has quit [Ping timeout: 480 seconds]
ungeskriptet797 has joined #linux-msm
ungeskriptet798 has joined #linux-msm
ungeskriptet79 has quit [Ping timeout: 480 seconds]
ungeskriptet7983 has joined #linux-msm
ungeskriptet799 has quit [Ping timeout: 480 seconds]
ungeskriptet7984 has joined #linux-msm
ungeskriptet79860 has joined #linux-msm
ungeskriptet7989 has joined #linux-msm
ungeskriptet798606 has joined #linux-msm
ungeskriptet79840 has joined #linux-msm
ungeskriptet796 has quit [Ping timeout: 480 seconds]
ungeskriptet7988 has joined #linux-msm
ungeskriptet7985 has joined #linux-msm
ungeskriptet797 has quit [Ping timeout: 480 seconds]
ungeskriptet7981 has joined #linux-msm
ungeskriptet798 has quit [Ping timeout: 480 seconds]
ungeskriptet7983 has quit [Ping timeout: 480 seconds]
ungeskriptet7984 has quit [Ping timeout: 480 seconds]
ungeskriptet79860 has quit [Ping timeout: 480 seconds]
ungeskriptet7989 has quit [Ping timeout: 480 seconds]
ungeskriptet798606 has quit [Ping timeout: 480 seconds]
ungeskriptet79840 has quit [Ping timeout: 480 seconds]
ungeskriptet7988 has quit [Ping timeout: 480 seconds]
ungeskriptet7985 has quit [Ping timeout: 480 seconds]
ungeskriptet7981 has quit [Ping timeout: 480 seconds]
<z3ntu> mal Maybe hack up the driver to not pet the watchdog on time?
<minecrell> mal: try setting up the watchdog ping in userspace (e.g. watchdogd in busybox/pmOS) and then kill that service (don't stop it gracefully, you need to kill it)
<z3ntu> minecrell Ah the watchdog thing is pet from user space? I thought it's for as the kernel petting the watchdog
<z3ntu> s/as//
<minecrell> z3ntu: afaiu it's mainly supposed to be controlled from userspace so you can be sure that userspace is still running correctly
<z3ntu> got it
<minecrell> iff the watchdog is already active during boot then the kernel will pet it temporarily
<minecrell> until userspace takes over
junari has joined #linux-msm
junari_ has joined #linux-msm
junari has quit [Ping timeout: 480 seconds]
Danct12 has quit [Quit: WeeChat 4.0.4]
Danct12 has joined #linux-msm
Danct12 has quit [Quit: WeeChat 4.0.4]
Danct12 has joined #linux-msm
Danct12 has quit [Quit: WeeChat 4.0.4]
<mal> minecrell: I see this is dmesg when killing the process handling watchdog "watchdog: watchdog0: watchdog did not stop!" but nothing after that
<minecrell[m]> make sure it's not restarted (check process list maybe)
<mal> it's not started
<minecrell> mal: fwiw I had some problems with the soc watchdog on msm8909, extremely confusing, it was literally counting too slowly as soon as Linux got started
<minecrell> never figured out why that happens
<minecrell> what I did instead is configure the watchdog in the pmic instead, qcom,pm8916-wdt (not sure if pm8226 has it but probably does)
<minecrell> that one worked fine
<minecrell> if I configured a timeout of 1s on the soc watchdog it was restarted after a few minutes only
<minecrell> or something like that
_lore_ has joined #linux-msm
__lore__ has quit [Ping timeout: 480 seconds]
<mal> minecrell: now I got "watchdog0: pretimeout event" after waiting for about 15 minutes
<minecrell[m]> if you wait longer it might reboot eventually :D
ungeskriptet has joined #linux-msm
__lore__ has joined #linux-msm
_lore_ has quit [Ping timeout: 480 seconds]
<z3ntu> bamse: Could you please pick this patch up to fix -next on arm32? :) https://lore.kernel.org/linux-arm-msm/20230921-pm7250b-sid-fixup-v1-1-231c1a65471f@fairphone.com/T/#u
Danct12 has joined #linux-msm
junari__ has joined #linux-msm
junari_ has quit [Ping timeout: 480 seconds]
junari__ has quit [Remote host closed the connection]
junari has joined #linux-msm
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
<vknecht[m]> bryanodonoghue: downstream 8939 has this block added for VFE compared to 8916, which doesn't seem to have an equivalent in mainline, at least for vfe40/41... any idea how important that is ? could it explain the lower half of TPG image not showing the bars ?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/wCldNGLuxJkJgifBBnBPFqNB>)
<bryanodonoghue> I don't think you need that to get the Raw Data Interface => RDI working
<bryanodonoghue> actually you already have that working
<bryanodonoghue> CSID -> RDI
<bryanodonoghue> the bit to focus on is the CSIPHY and the init sequence for it
<vknecht[m]> so the problem would be more about subtle clocks & freqs differences ?
<bryanodonoghue> hmm well the band of green down the bottom => all zeros
<bryanodonoghue> you should verify the contents of the frame increments as expected
<bryanodonoghue> perhaps generating 0xA5 would be easier
<bryanodonoghue> since any non 0xA5 data is invalid and indicates a bug
<bryanodonoghue> *gym
<vknecht[m]> doesn't look how it should I guess ?
<vknecht[m]> the first 2 frames are different... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/cRSvdqxGYKWDCaaggggBiwWb>)
<vknecht[m]> with 8916, all frames are identical, and hexdump gives... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/abvBISjeGKQmRIEqlDhCmhub>)
junari has quit [Ping timeout: 480 seconds]
<bryanodonoghue> yep the 8916 is correct...
<bryanodonoghue> I was about to say it looks byteswapped but
<bryanodonoghue> 0001400 5555 5555 5555 5555 5555 5555 5555 5555
<bryanodonoghue> vknecht[m] you might thing about cherry-picking the debugfs stuff I have here
<bryanodonoghue> and applying it for your gen1
<bryanodonoghue> would be interested to see if some of the error counters bump
<vknecht[m]> thanks, I'll look into that
hexdump0815 has quit [Quit: WeeChat 1.9.1]
<z3ntu> lumag: not sure how fast it would be for you, but if you add dpu support for msm8953, I'd be happy to test that ;) I checked for the 8996 patch how the mdp5->dpu relate and I definitely saw where some of the values are from but for quite a few others it wasn't immediately obvious so I'd need to spend quite some time on it I guess
<lumag> z3ntu, hmm, no SMP? definitely doable.
<z3ntu> If that's shown by no qcom,mdss-smp-data usage downstream then yeah, no SMP I guess^^
<lumag> anybody volunteering for msm8937 or msm8917 ?
<z3ntu> I'm sure we can find testers somewhere, either here or in the postmarketOS mainline channel
<aka_[m]> <lumag> "anybody volunteering for msm8937..." <- Affe Null: have 8917
<aka_[m]> i do have too kinda but not even ported device
<bamse> z3ntu: does "also need to" imply that things are currently broken?
<z3ntu> bamse: Well commit https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/commit/?h=for-next&id=8e2d56f64572 now requires the #define to be set before including the file, otherwise there will be a build failure as we see now
<z3ntu> I updated fp4 dts but missed this arm32 dts file so build of that fails
<mal> z3ntu: link the mailing list report of -next failure here
<bamse> z3ntu: okay, that's what i was wondring about...
<bamse> z3ntu: and now i saw the report in my inbox. thank you for the ping
<z3ntu> sorry for breaking it :)
<bamse> z3ntu: i should have paid more attention, missed it due to another build error in allmodconfg when building -rc1 :(
<z3ntu> Breaking arm32 when merging arm64 dts patches is quite rare I think ;)
<bamse> not if you're up to the crazy things we're doing ;)
<bamse> the problem there is that i do dt-validation etc on the dts and arm64 branch separately, and i don't think i merged any arm changes, so i didn't retest that build...
<lumag> z3ntu, I've sent experimental patches for 8953/8937/8917. Completely untested
<lumag> any feedback is appreciated.
<lumag> Note, I have enabled 'cursor' bit for the DMA plane, so that by default it will be used for the cursor display
<z3ntu> lumag: Nice, thanks! Compiling, hopefully can still test today :)
<z3ntu> lumag: Screen is initializing and displaying stuff :) But there's some errors
<z3ntu> [ 22.774205] [drm:dpu_kms_hw_init:1164] dpu hardware revision:0x10100000 - init is fine
<z3ntu> [ 23.099806] [drm:_dpu_encoder_phys_cmd_wait_for_ctl_start:657] [dpu error]enc31 intf1 ctl start interrupt wait failed
<z3ntu> [ 23.099821] [drm:dpu_kms_wait_for_commit_done:495] [dpu error]wait for commit done returned -22
<z3ntu> these messages appear ~13 times per second but screen is still updating
<lumag> z3ntu, heh, the ctl start again
<z3ntu> also what was the environment variable
<z3ntu> * for running kmscube with llvmpipe again? My current build doesn't have gpu in
<z3ntu> but need to go to bed now :) So in short: screen is updating but quite laggily, a few times person second I'd say. For sure not the full Hz it's supposed to run at
<z3ntu> ah and you're missing `"qcom,msm8953-mdp5"` in `msm_mdp5_dpu_migration` in the patch (+the other platforms), I don't think the code ever considers dpu with this missing