On Fri Feb 6, 2026 at 7:17 AM JST, John Hubbard wrote:
> The auxiliary device registration was using a hardcoded ID of 0, which
> caused probe() to fail on multi-GPU systems with:
>
>    sysfs: cannot create duplicate filename 
> '/bus/auxiliary/devices/NovaCore.nova-drm.0'
>
> Fix this by using an LKMM atomic counter to generate unique IDs for each
> GPU's aux device registration. The TODO item to eventually use XArray
> for recycling aux device IDs is retained (and modified slightly: IDA
> might be better) but for now, this works very nicely.
>
> This has the side effect of making debugfs[1] work on multi-GPU systems.
>
> [1] https://lore.kernel.org/[email protected]
>
> Cc: Danilo Krummrich <[email protected]>
> Cc: Gary Guo <[email protected]>
> Signed-off-by: John Hubbard <[email protected]>

Queued for merging into `drm-rust-next` when it repoens - thanks for the
fix!

Reply via email to