mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-06 13:55:22 +02:00
![]() commit 35e4079bf1a2570abffce6ababa631afcf8ea0e5 upstream.
When a CL/CSD job times out, we check if the GPU has made any progress
since the last timeout. If so, instead of resetting the hardware, we skip
the reset and let the timer get rearmed. This gives long-running jobs a
chance to complete.
However, when `timedout_job()` is called, the job in question is removed
from the pending list, which means it won't be automatically freed through
`free_job()`. Consequently, when we skip the reset and keep the job
running, the job won't be freed when it finally completes.
This situation leads to a memory leak, as exposed in [1] and [2].
Similarly to commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
v3d_bo.c | ||
v3d_debugfs.c | ||
v3d_drv.c | ||
v3d_drv.h | ||
v3d_fence.c | ||
v3d_gem.c | ||
v3d_irq.c | ||
v3d_mmu.c | ||
v3d_perfmon.c | ||
v3d_regs.h | ||
v3d_sched.c | ||
v3d_trace_points.c | ||
v3d_trace.h |