ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
Hazematman has joined #dri-devel
feaneron has joined #dri-devel
Hazematman has quit []
<Mis012[m]>
doesn't Linux still use a special pcie driver on x86 instead of the generic one... though I supposed that's Linux's fault
<Mis012[m]>
*suppose
<Mis012[m]>
Ampere could probably make their CPU cores support nGnRnE non-device memory if they thought that was a good idea
glennk has quit [Ping timeout: 480 seconds]
rz_ has quit [Ping timeout: 480 seconds]
Hazematman has joined #dri-devel
<Mis012[m]>
this is not necessarily even pcie specific, unless you suggest they make pcie accesses to VRAM cache coherent? :P
guludo has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 4.5.1]
<HdkR>
Mis012[m]: AmpereOne fixed the issue as far as I'm aware. It's just Altra that has the issue
haaninjo has quit [Quit: Ex-Chat]
<Mis012[m]>
well, the "fix" would probably be to allow specifying nGnRnR on normal memory, which is not a thing in arm's spec
<Mis012[m]>
I suppose allowing unaligned access tp device memory is not the worst option though
<Mis012[m]>
iirc that is allowed by the spec, just that we will never get everyone to do it
<HdkR>
Which is what Tegra supports as far as I can tell
<Mis012[m]>
doesn't Tegra also use pci glue for the iGPU for some unclear to me reason? could be related to that more than expecting anyone to use an external one
<HdkR>
iGPU up until Orin is at least connected to something called Host1x
lemonzest has joined #dri-devel
<HdkR>
Grace and GB10 use NVLink instead
<HdkR>
I wouldn't be surprised if Thor this summer uses NVLink as well
<HdkR>
NVIDIA sort of expects people to connect GPUs to the bus of these things, so it makes sense to support all the features :D
<Mis012[m]>
the sad part about the new things is that they seem to use ACPI, but I guess it makes sense since they love out-of-tree drivers too
<Mis012[m]>
and it's probably just sane enough that nobody will feel the need to make it work with dt
<HdkR>
Thank goodness, I hate fussing with DT files
<HdkR>
Going to need to mess with the DT of this Orin board to see if I can get 16GB+ of BAR2 space
jljusten has quit [Quit: WeeChat 4.4.3]
<Mis012[m]>
dtbs are supposed to be shipped with the system, it's just that hw that has dt support usually doesn't care about running mainline Linux
Kayden has quit [Quit: Leaving]
iive has quit [Quit: They came for me...]
Kayden has joined #dri-devel
jljusten has joined #dri-devel
<Mis012[m]>
if this was x86, Linux would bend over backwards to support whatever the board ships, on arm if the stock fw is unusable the user is expected to use the dtb built alongside Linux
<Mis012[m]>
HdkR: I assume messing with ACPI to change BAR size would be much more painful...?
<HdkR>
Well Orin doesn't use ACPI and I don't have Grace (yet), and GB10/Thor isn't available yet :D
<Mis012[m]>
from my experience messing with ACPI is a lot more pain than messing with dt
<Mis012[m]>
but I guess the typical way to do it is to just add hacks in the kernel because we need to keep the facade of "just works"
<HdkR>
Doesn't help that Snapdragon ACPI is effectively Windows only. So those implementations should be ignored anyway
<Mis012[m]>
well, it does help, otherwise they might seriously consider actually supporting it :P
<Mis012[m]>
again, if that was x86 I bet they would try
<HdkR>
Not wrong there
<Mis012[m]>
ACPI doesn't offer anything to Linux, it's Windows that can't do it's own power management and doesn't know what a clock is
rz has joined #dri-devel
<Mis012[m]>
the ACPI alternative to fixed-clock is literally "hardcode it in the driver"
<HdkR>
Sounds like the qcom approach to acpi as well
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<Mis012[m]>
well yes, if there is no ""standard"" way to do it (or I guess if they don't feel like using that), it's either hardcode in driver or dump a raw struct in the ACPI as hex or something like that
<Mis012[m]>
I think on arm companies are more open to using devicetree-like properties which make ACPI quite a bit less insane, but might as well go to the logical conclusion and use dt :P
davispuh has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Remote host closed the connection]