diff options
author | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2018-05-18 23:41:58 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-26 01:41:54 +0300 |
commit | 5de0473982aab2c0f877565a26c1803eed8d61ac (patch) | |
tree | d329d3db7b67a71d14bf6e892d94016c77144e61 /drivers/hwmon/mcp3021.c | |
parent | 076673419741c1c769f59536c199234937df1762 (diff) | |
download | linux-5de0473982aab2c0f877565a26c1803eed8d61ac.tar.xz |
media: vsp1: Provide a body pool
Each display list allocates a body to store register values in a dma
accessible buffer from a dma_alloc_wc() allocation. Each of these
results in an entry in the IOMMU TLB, and a large number of display list
allocations adds pressure to this resource.
Reduce TLB pressure on the IPMMUs by allocating multiple display list
bodies in a single allocation, and providing these to the display list
through a 'body pool'. A pool can be allocated by the display list
manager or entities which require their own body allocations.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/hwmon/mcp3021.c')
0 files changed, 0 insertions, 0 deletions