Skip to content

asahi: accept the "aurora" kernel driver name - #126

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
aurora/kernel-identity
Oct 31, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
aurora/kernel-identity

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Oct 31, 2026 •

Copy link
Copy Markdown

The AGX kernel driver is being renamed from "asahi" to "aurora" (DRM name, module and debugfs). This makes Mesa accept both names everywhere it matches the kernel driver, so it has to land and reach the distro pins before the kernel change does. With an "aurora" kernel and today's Mesa the desktop falls back to llvmpipe and Borealis finds no device.

What changes:

  • agx_device and hk use a new agx_is_native_drm_driver() that takes either name. The old render_rsrc_spec_hi version rule (0.2 and up) is upstream's numbering, so it now applies to "asahi" only. The field has no users today.
  • kmsro pairs the display-only "apple" device with an "aurora" or "asahi" render node, and the pipe-loader platform list carries both.
  • A new "aurora" pipe-loader descriptor for the AGX screen, the same alias pattern as msm/kgsl. dril builds aurora_dri.so beside asahi_dri.so.
  • The gallium driver's driconf name is now "aurora". A new optional driverNameAlias in driConfigFileParseParams keeps <device driver="asahi"> matching, so the drirc files on our systems (00-asahi-defaults.conf, the browser renderer override) and option names like asahi_no_fp16 keep working. There is a new xmlconfig test for it.
  • The v3d simulator knows the new name.

MESA_LOADER_DRIVER_OVERRIDE and dri_driver take "aurora" or "asahi". Nothing changes for an "asahi" kernel. The Vulkan driver stays Borealis.

Testing (buildbox, x86_64 F45 SDK container, gallium asahi/zink/softpipe + Vulkan asahi + dril + drm-shim):

  • meson test --suite asahi --suite util: 127/127 pass.
  • The same asahi suite with the drm-shim temporarily reporting "aurora": 108/108 pass. That covers the agx_device and Borealis paths against a renamed kernel.
  • dril output has both aurora_dri.so and asahi_dri.so.

Hardware validation runs once this is in a fleet Mesa build. The plan covers old kernel + new Mesa, then new kernel + new Mesa, on all four machines.

Kernel side: aurora-silicon/linux#683

🤖 Generated with Claude Code

The AGX kernel driver is being renamed from "asahi" to "aurora". Mesa has
to know the new name before any kernel ships with it, otherwise the GL
driver, Borealis and everything on Zink lose the GPU. This accepts both
names everywhere Mesa matches the kernel driver, so Mesa and the kernel
can update in either order.

- agx_device and hk use agx_is_native_drm_driver(), which takes either
  name. The 0.2 version rule for render_rsrc_spec_hi belongs to the old
  numbering and now applies to "asahi" only. The field has no users.
- kmsro pairs the display-only "apple" device with an "aurora" or
  "asahi" render node, and the pipe-loader platform list carries both.
- New "aurora" pipe-loader descriptor for the AGX screen, the same alias
  pattern as msm and kgsl, and dril builds aurora_dri.so beside
  asahi_dri.so.
- The gallium driver's driconf name is now "aurora". A new optional
  driverNameAlias in driConfigFileParseParams lets it keep matching
  <device driver="asahi">, so the drirc files on our systems and option
  names like asahi_no_fp16 keep working. Covered by a new xmlconfig
  test.
- The v3d simulator knows the new name too.

MESA_LOADER_DRIVER_OVERRIDE and dri_driver accept "aurora" and "asahi".
Nothing else changes for an "asahi" kernel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant