Skip to content

Commit ddee93d

Browse files
author
Phil Elwell
committed
drm/v3d: Fix merge error memory leak
Cherry-picking "drm/v3d: Refactor job management." from 4.19 lost a call to drm_sched_job_cleanup introduced in 4.20, causing a memory leak. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
1 parent 77b08ab commit ddee93d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/gpu/drm/v3d/v3d_sched.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ v3d_job_free(struct drm_sched_job *sched_job)
5959
{
6060
struct v3d_job *job = to_v3d_job(sched_job);
6161

62+
drm_sched_job_cleanup(sched_job);
63+
6264
v3d_job_put(job);
6365
}
6466

0 commit comments

Comments
 (0)