summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorLoic Pallardy <loic.pallardy@st.com>2018-07-27 16:14:47 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-10-15 09:37:40 +0300
commitc6aed238b7a9b15a5c90a0c31f1d36577b5d2cbe (patch)
tree3cd3bbf5c01854a6777c7b47fedafed245d12e64 /drivers/i2c
parent1e2517d126171a41f801738ffd19687836cd178a (diff)
downloadlinux-c6aed238b7a9b15a5c90a0c31f1d36577b5d2cbe.tar.xz
remoteproc: modify vring allocation to rely on centralized carveout allocator
Current version of rproc_alloc_vring function supports only dynamic vring allocation. This patch allows to allocate vrings based on memory region declatation. Vrings are now manage like memory carveouts, to communize memory management code in rproc_alloc_registered_carveouts(). Allocated buffer is retrieved in rp_find_vq() thanks to rproc_find_carveout_by_name() functions for. This patch sets vrings names to vdev"x"vring"y" with x vdev index in resource table and y vring index in vdev. This will be updated when name will be associated to vdev in firmware resource table. Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions