Searched hist:"9326 e6f25574bbb8bd48206d245654780e3fd665" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_irq.c | diff 9326e6f25574bbb8bd48206d245654780e3fd665 Tue Jul 26 22:47:14 CEST 2016 Eric Anholt <eric@anholt.net> drm/vc4: Fix overflow mem unreferencing when the binner runs dry.
Overflow memory handling is tricky: While it's still referenced by the BPO registers, we want to keep it from being freed. When we are putting a new set of overflow memory in the registers, we need to assign the old one to the last rendering job using it.
We were looking at "what's currently running in the binner", but since the bin/render submission split, we may end up with the binner completing and having no new job while the renderer is still processing. So, if we don't find a bin job at all, look at the highest-seqno (last) render job to attach our overflow to.
Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: ca26d28bbaa3 ("drm/vc4: improve throughput by pipelining binning and rendering jobs") Cc: stable@vger.kernel.org
|
H A D | vc4_drv.h | diff 9326e6f25574bbb8bd48206d245654780e3fd665 Tue Jul 26 22:47:14 CEST 2016 Eric Anholt <eric@anholt.net> drm/vc4: Fix overflow mem unreferencing when the binner runs dry.
Overflow memory handling is tricky: While it's still referenced by the BPO registers, we want to keep it from being freed. When we are putting a new set of overflow memory in the registers, we need to assign the old one to the last rendering job using it.
We were looking at "what's currently running in the binner", but since the bin/render submission split, we may end up with the binner completing and having no new job while the renderer is still processing. So, if we don't find a bin job at all, look at the highest-seqno (last) render job to attach our overflow to.
Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: ca26d28bbaa3 ("drm/vc4: improve throughput by pipelining binning and rendering jobs") Cc: stable@vger.kernel.org
|