tle>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-05-13 19:17:02 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-06-28 12:13:45 -0300
commit9489a8ff0a13fc0f62e556a31341d3bbaef9da6b (patch)
tree0d9ce013d2fe217f3ebcf9d355ef32f85fe93b18
parent6a8e07b215a91be310dac358fdccd7709dd2458f (diff)
[media] v4l: vsp1: dl: Don't free fragments with interrupts disabled
Freeing a fragment requires freeing DMA coherent memory, which can be performed with interrupts disabled as per the DMA mapping API contract. The fragments can't thus be freed synchronously when a display list is recycled. Instead, move the fragments to a garbage list and use a work queue to run the garbage collection. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>