Skip to content

asahi: Disable device init on !macOS

This was never ready on Linux. Apparently some distros have started compiling in the asahi driver in upstream mesa, which causes things to break in very interesting ways when some app (like Xorg...) decides to use the GPU device, even without having it hooked up in kmsro...

This is already fixed upstream as part of larger changes in !21662 (merged), but it's not something that can be cherry-picked. Let's just backport a trivial change that always fails device init for asahi.

Signed-off-by: Asahi Lina lina@asahilina.net

Merge request reports