[PATCH v6 06/10] accel/rocket: Add IOCTL for BO creation
Daniel Stone
daniel at fooishbar.org
Thu Jun 5 05:29:54 PDT 2025
Hey,
On Thu, 5 Jun 2025 at 08:41, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> > Indeed if you're using the IOMMU API directly then you need to do your
> > own address space management either way, so matching bits of process VA
> > space is pretty simple to put on the table.
>
> My impression was that the VM_BIND facility is intended for SVM as in
> OpenCL and maybe Vulkan?
>
> Guess my question is, what would such an accelerator driver win by
> letting userspace manage the address space?
I mean, not a lot gained, but otoh there's also not much to be gained
by using the kernel's range allocator either, and it saves userspace a
roundtrip to discover the VA for a BO it just created/mapped?
Cheers,
Daniel
More information about the Linux-rockchip
mailing list