00:03fdobridge: <Esdras Tarsis> I think TU117 doesn't have GSP firmware support in Ben's nouveau driver 🐸
00:26fdobridge: <gfxstrand> Ok, decent Maxwell now landed. I've also added a few generic MME tests. We should add more but I got us started.
00:26fdobridge: <gfxstrand> These are for testing the builder not the hardware so it runs against the simulators. This means we can run them in CI. 😄
00:26fdobridge: <gfxstrand> If you follow the pattern I used, it'll test both simulators to ensure consistency.
00:27fdobridge: <gfxstrand> But, yeah, Maxwell is now almost as good as Turing. 😄
00:28anholt: kepler still effectively unsupported, right?
00:29fdobridge: <karolherbst🐧🦀> no, it is supported
00:29fdobridge: <karolherbst🐧🦀> just not tested I think atm 😄
00:30fdobridge: <karolherbst🐧🦀> I will probably look into it this weekend and fix all the texture header bugs lurking around or something 😛
00:41anholt:shoves some code at ci, let's see what happens.
01:10HdkR: :+1: to simulators in CI. I do the same :D
03:02fdobridge: <gfxstrand> I should add more to the sim-based tests. There's only 4 tests in there now. But at least I started.
05:01fdobridge: <nepnep> Until Turing gets GSP :frog_pregnant:
05:06fdobridge: <gfxstrand> Until Turing gets GSP, Maxwell is probably better. 😅
05:08airlied: skeggsb: did you figure out gsp sync reporting yet?
05:08airlied: that was what stopped me crossing the streams last time between gsp and vk
05:09skeggsb: no - i haven't looked again yet. i will next week
05:18mupuf: HdkR: Simulators in CI bring up more PTSD than good feelings over here
05:19mupuf: Not that it isn't possible to do it right... it's just that it requires careful consideration which I have never seen it from teams that design such simulators :D
06:28HdkR: mupuf: Sometimes its the only option, ideally I'll remove it from CI when no longer necessary
06:29HdkR: Missing features, bugs, slow, etc
06:30mupuf: Yeah. I guess what I hate is not, simulators, it is shoddy HW development practices
06:30HdkR: Indeed, that's a problem
06:31mupuf: If they use high-level synthesis, all is fine as the simulator will actually be enjoyable to work with (you can even step in the code in gdb)
06:31HdkR: Just make sure to have multiple tiers of simulators at different levels, so you can hit bugs all the way down ;)
06:32mupuf: but if it is a re-implementation based on a behavioral spec... which is itself often not updated...
06:32mupuf: absolutely :)
06:36mupuf: I started a project called LiteDIP when I was burnt out at Intel. It stands for LiteX-based Discoverable IPs, and I was designing it so that the hardware had test benches, the driver had unit tests, and integration testing would have been possible with verilator+UserModeLinux
06:36mupuf: Of course, you could run this directly on an FPGA too, which was somewhat the point
06:37mupuf: I hope to get back to it during my parental leave
06:37mupuf:really wants to make his own display engine running over USB or PCIe
06:40mupuf: Weirdly enough, my biggest issue is not related to PCIe, USB, DMA, DDR (all of these components are plug and play in LiteX), but the silly PLL designs found in Xilinx or Lattice FPGAs: no dynamic reclocking*
06:40mupuf: (well, you can dynamically reclock on Xilinx, but it is meant as a partial reconfiguration)
06:42mupuf: so... I started designing my own fractional divider over the summer vacation.
06:42mupuf: </offtopic>
07:01HdkR: Very cool though
14:54fdobridge: <gfxstrand> This simulator only stimulates the NVIDIA MME and it's just for mme_builder unit testing.
15:31fdobridge: <Esdras Tarsis> what is mme?
15:33fdobridge: <karolherbst🐧🦀> macro engine to generate command streams on the GPU
15:53fdobridge: <gfxstrand> Mmio Macro Engine
15:54fdobridge: <phomes> wrt the mme I am still puzzled about nvk issue #49
16:10fdobridge: <gfxstrand> Yeah, I don't get that either.
16:12fdobridge: <nanokatze> it's macro method expander
16:25fdobridge: <gfxstrand> That makes sense too, I guess.
16:44fdobridge: <gfxstrand> Whatever it is, we have simulators and unit tests and they'll run in CI. 😅
16:45fdobridge: <Esdras Tarsis> I didn't know how Ben's kernel looks for gsp firmware so I added a printk
16:45fdobridge: <Esdras Tarsis> `nouveau: searching for firmware in nvidia/tu117/gsp/gsp-5256011.bin`
16:45fdobridge: <Esdras Tarsis> now it's clear :)
20:16fdobridge: <gfxstrand> Does the nouveau kernel module make copies of pushbufs or anything like that?
20:38fdobridge: <airlied> Nope
21:26fdobridge: <gfxstrand> Maybe my WFI isn't actually idling the compute engine?
23:51fdobridge: <gfxstrand> Ok, I finally maybe got indirect draw working. 😄