aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2021-06-14 13:23:27 +0200
committerMauro Carvalho Chehab <[email protected]>2021-07-12 13:04:12 +0200
commit4cb3a0f3896d9ad1d19efb25fd00a58ae6667a95 (patch)
tree5228dc94b6b602931b84b3ab1b9410a52b20e1cd /tools/perf/scripts/python
parent38f7435f13049fb9f721fbed30d2ca3c3ddfbd6a (diff)
media: ti-vpe: cal: allocate pix proc dynamically
CAL has 4 pixel processing units but the units are not needed e.g. for metadata. As we could be capturing 4 pixel streams and 4 metadata streams, i.e. using 8 DMA contexts, we cannot assign a pixel processing unit to every DMA context. Instead we need to reserve a pixel processing unit only when needed. Add functions to reserve and release a pix proc unit, and use them in cal_ctx_prepare/unprepare. Note that for the time being we still always reserve a pix proc unit. Signed-off-by: Tomi Valkeinen <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions