modified: gpu/drm/panfrost/panfrost_job.c
Subsystems (3)
PATCH 1/1 modified: gpu/drm/panfrost/panfrost_job.c
From: tangchunyou <[email protected]>
The 'break' can cause 'Memory manager not clean during takedown' It cannot use break to finish the circulation,it should use continue to traverse the circulation.
Signed-off-by tangchunyou <[email protected]>
--- drivers/gpu/drm/panfrost/panfrost_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panfrost/panfrost_job.c +1 -1
@@ -281,7 +281,7 @@ static void panfrost_job_cleanup(struct kref *ref)if (job->mappings) {for (i =0 ; i < job->bo_count; i++) {if (!job->mappings[i]) -break ; +continue ;atomic_dec (&job->mappings[i]->obj->gpu_usecount);panfrost_gem_mapping_put (job->mappings[i]);
Signature · 1 line
2.25.1