On Tue, 15 Oct 2024 00:31:38 +0100
Adrián Larumbe 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,
If we reach the beginning of the LRU AS list, then trigger an error.
Signed-off-by: Adrián Larumbe
---
drivers/gpu/drm/panfrost/panfrost_job.c | 4 +++-
drivers/gpu/drm/panfrost/panfrost_mmu.c | 8 +---
drivers/gpu/drm/panfrost/panfrost_mmu.h | 2 +-
drivers/gpu/drm/panfrost/panf