#asahi-gpu · 2025-03-14 21:13
robherI'm going to have to pull-in Robin for that...#asahi-gpu · 2025-03-14 20:55
robherjannau: FYI, I'm working on better handling of "memory-region": https://web.git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/log/?h=for-kernelci#asahi-gpu · 2025-02-27 16:46
robherjannau: Indeed, of_reserved_mem is going to need some work for rust. Even for C, we shouldn't have every driver parsing "memory-region" themselves. Curious, what does this region hold for asahi?#asahi-gpu · 2022-09-15 21:11
robherGoogle Summer of Complaining. Sign me up.#asahi-gpu · 2022-09-15 17:56
robherBTW, 'mount-matrix' is the case of float strings, but it looks like all the users don't support fractions so far.#asahi-gpu · 2022-09-15 17:55
robherYeah, that would probably be more consistent and avoid dealing with '/bits/ 64 <1.0f>'#asahi-gpu · 2022-09-15 17:52
robherC-style is fine with me, but that's a little detail David will care about.#asahi-gpu · 2022-09-15 17:41
robherAny idea if flex/bison support parsing floats?#asahi-gpu · 2022-09-15 17:39
robherBack to dtc, I wouldn't have an issue with supporting float values, but that's ultimately the dtc maintainer's call. That's David Gibson, not me.#asahi-gpu · 2022-09-15 17:31
robherI think math-emu is generally for kernel doing soft float for userspace. I was going to say drivers don't use float, but then it seems there is one: AMD GPU. But that driver is so big, it hasn't been that closely reviewed. So just bury it in 1M LoC and you'll be fine. ;)#asahi-gpu · 2022-09-15 14:00
robherIn past cases, we just use strings.#asahi-gpu · 2022-09-15 13:59
robherlina: The kernel doesn't take floats either (except in some isolated spots).