Skip to content
Snippets Groups Projects
Commit 50fadb4b authored by Antonino Maniscalco's avatar Antonino Maniscalco
Browse files

panthor: fix handling of tiler heap OOM

parent b8807d4c
Branches oom_fix
No related tags found
No related merge requests found
Pipeline #92523 failed
...@@ -1354,7 +1354,7 @@ static int group_process_tiler_oom(struct panthor_group *group, u32 cs_id) ...@@ -1354,7 +1354,7 @@ static int group_process_tiler_oom(struct panthor_group *group, u32 cs_id)
pending_frag_count, &new_chunk_va); pending_frag_count, &new_chunk_va);
} }
if (ret && ret != -EBUSY) { if (ret && ret != -EBUSY && ret != -ENOMEM) {
drm_warn(&ptdev->base, "Failed to extend the tiler heap\n"); drm_warn(&ptdev->base, "Failed to extend the tiler heap\n");
group->fatal_queues |= BIT(cs_id); group->fatal_queues |= BIT(cs_id);
sched_queue_delayed_work(sched, tick, 0); sched_queue_delayed_work(sched, tick, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment