ChanServ changed the topic of #linux-msm to:
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
Newbyte has quit [Write error: connection closed]
z3ntu has quit [Write error: connection closed]
Tooniis[m] has quit [Remote host closed the connection]
Marijn[m] has quit [Write error: connection closed]
luka177[m] has quit [Remote host closed the connection]
aka_[m] has quit [Remote host closed the connection]
travmurav[m] has quit [Remote host closed the connection]
xtex[m] has quit [Remote host closed the connection]
nergzd723 has quit [Remote host closed the connection]
flamingradian[m] has quit [Write error: connection closed]
minecrell[m] has quit [Write error: connection closed]
KieranBingham[m] has quit [Write error: connection closed]
konradybcio has quit [Write error: connection closed]
adomerle has quit [Write error: connection closed]
AntoniAloyTorrens[m]1 has joined #linux-msm
pespin has joined #linux-msm
jhovold has joined #linux-msm
jhovold has quit [Quit: WeeChat 4.2.2]
jhovold has joined #linux-msm
jhovold has quit [Quit: WeeChat 4.2.2]
f_ has joined #linux-msm
marc|gonzalez has joined #linux-msm
<marc|gonzalez> bryanodonoghue: I'm having a problem with adreno SMMU on msm8998.
<marc|gonzalez> msm_dpu c901000.display-controller: failed to load adreno gpu
<marc|gonzalez> after adding 42 million printks, it comes from iommu_attach_device(iommu->domain, dev) failing because dev->iommu_group is NULL
<marc|gonzalez> I'm pretty sure this error did not occur in phh's branch, but I don't see which patch would fix that
<marc|gonzalez> I could blindly add them and bisect, it would be faster than poking at random...
<marc|gonzalez> FFS, the node was disabled...
<marc|gonzalez> I don't quite understand the logic behind marking everything disabled in the SoC and requiring even board DTS to re-enable every piece of silicon...
<marc|gonzalez> I mean, if there's an IOMMU, it's expected to work normally all the time?
z3ntu has joined #linux-msm
<z3ntu> marc|gonzalez: Afaik normally iommu is not disabled in dtsi file. Maybe it's just 8998 being weird?
<marc|gonzalez> Weird or sneaky...
<marc|gonzalez> 87cd46d68aeac8 = adreno_smmu disabled
<z3ntu> I'm quite sure that if you send a patch removing that status=disabled from dtsi for this node that nobody will mind. I checked all other adreno_smmu: and none apart from 8998 are disabled
<marc|gonzalez> jhugo: bamse: do you confirm that the adreno_smmu node should not be disabled?
<jhugo> marc|gonzalez: uhh, why would that be disabled? Its required for the adreno
<marc|gonzalez> IN...DEEEEED :)
<marc|gonzalez> I confirm that Adreno stubbornly tells me to F off if it doesn't find its smmu
<jhugo> got a lore link or something?
<marc|gonzalez> and it's not even an explicit F off, it just whimpers quietly and rolls over and dies
<z3ntu> Generally to my knowledge nodes are disabled in dtsi if they 1. need device-specific things configured, e.g. vdd-supply or some extra properties etc or extra firmware provided in rootfs, or 2. if the part on the SoC or PMIC are just plainly not used e.g. wled or vibra
<marc|gonzalez> you mean more than 87cd46d68aeac8 ?
<z3ntu> Maybe also time to add a loud print in adreno driver that it must get its iommu :)
<jhugo> oh, this is old
<marc|gonzalez> z3ntu: you're probably right
<marc|gonzalez> everything about the msm8998 is old
<marc|gonzalez> it's an 8 year old Soc :p
<jhugo> I had thought this was a change queued for -next
<z3ntu> 8998 is new compared to 8974 for example :P
<marc|gonzalez> it's a change queued for: let's piss of marc|gonzalez
<marc|gonzalez> *off
<marc|gonzalez> OK, patches on the way then
<marc|gonzalez> z3ntu: in fact, there's a if (gpu->aspace == NULL) DRM_DEV_INFO(drm->dev, "%s: no IOMMU, fallback to VRAM carveout!\n", name);
<marc|gonzalez> else if (IS_ERR(gpu->aspace)) silent return
<marc|gonzalez> so I think not having an iommus node is supported, but having a disabled iommus node is a weird corner case
<bryanodonoghue> marc|gonzalez what's your base SHA ?
<marc|gonzalez> wut?
<marc|gonzalez> I have a dozen patches on top of v6.9-rc1 aka 4cece76496502
<marc|gonzalez> bryanodonoghue: I'm not sure what "base SHA" means.
aka_[m] has joined #linux-msm
<aka_[m]> Take last tree commit Sha?
<marc|gonzalez> aka_[m]: last public object is the tag :)
<marc|gonzalez> then I have a dozen fixups, some accepted by maintainers, some not yet
<z3ntu> marc|gonzalez: the vram carveout is used on 8974 and 8226 ;)
<z3ntu> But yeah probably the other path should get a print
telent has quit [Quit: Ping timeout (120 seconds)]
telent has joined #linux-msm
<marc|gonzalez> Something like "broken IOMMU setup" ?
<marc|gonzalez> I posted a patch for the DTSI
<aka_[m]> 8998 and 660 had disabled iommu because it was 'broken'
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
pespin has quit [Remote host closed the connection]
luka177[m] has joined #linux-msm
<luka177[m]> I did already compare pps payload, and it is identical. What is "other DCS "? i thought only pps payload is sent to panel. Will check DSC block, DSI host, CTL and PP registers
Marijn[m] has joined #linux-msm
<Marijn[m]> luka177: the pps is only sent to the panel if your driver does it (when generated with the latest lmdpdg). "other DCS" is any arbitrary (vendor magic) command that is (not) sent that might cause the panel to (mis)interpret the compressed data wrongly
ungeskriptet is now known as Guest6512
ungeskriptet has joined #linux-msm
<luka177[m]> <Marijn[m]> "luka177: the pps is only sent to..." <- yes my driver do send PPS and its identical to one sent on downstream, as for vendor magic commands, i wound nothing except blac/unblack on panel suspend/unsuspend
Guest6512 has quit [Ping timeout: 480 seconds]
flto has quit [Remote host closed the connection]
flto has joined #linux-msm