From 5f5ce518cae0a84503563c01167591504219005f Mon Sep 17 00:00:00 2001 From: Zhen Chen Date: Thu, 21 Apr 2022 17:12:39 +0800 Subject: [PATCH] MALI: bifrost: treat "Could not get a valid AS for group ..." as a debug log not warning In mail 'RE: : G610: Valhall Android DDK r36: Does device driver warning log "Could not get a valid AS for group ..." matter?', zhigang.yao@arm.com declared that it should not be a warning: "This is expected behavior. GPU has a limited present HW address space resource, max is 16, and is implementation specific, (8 on Odin?). So if there are more than 16 (8 on Odin) process, some of it might not get a valid present address space, and the warning would be printed as you have observed." Signed-off-by: Zhen Chen Change-Id: Ic8324c37461776672d516b472db66549d91fe552 --- drivers/gpu/arm/bifrost/csf/mali_kbase_csf_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_scheduler.c b/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_scheduler.c index 7ba9f46aaca0..930c26e57862 100644 --- a/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_scheduler.c +++ b/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_scheduler.c @@ -2421,7 +2421,7 @@ static void program_csg_slot(struct kbase_queue_group *group, s8 slot, mutex_unlock(&kbdev->mmu_hw_mutex); if (kctx->as_nr == KBASEP_AS_NR_INVALID) { - dev_warn(kbdev->dev, "Could not get a valid AS for group %d of context %d_%d on slot %d\n", + dev_dbg(kbdev->dev, "Could not get a valid AS for group %d of context %d_%d on slot %d\n", group->handle, kctx->tgid, kctx->id, slot); return; }