On Tue, 15 Oct 2024 00:31:38 +0100 Adrián Larumbe <adrian.larumbe@xxxxxxxxxxxxx> wrote: > -u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) > +int panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, u32 *asi) Or, we return an int that encodes the AS id when >= 0, and the error code when < 0. > { > int as;