Skip to content
Snippets Groups Projects
Commit f7e45ad9 authored by Tomeu Vizoso's avatar Tomeu Vizoso
Browse files

accel/rocket: Add IOCTLs for synchronizing memory accesses


The NPU cores have their own access to the memory bus, and this isn't
cache coherent with the CPUs.

Add IOCTLs so userspace can mark when the caches need to be flushed, and
also when a writer job needs to be waited for before the buffer can be
accessed from the CPU.

Initially based on the same IOCTLs from the Etnaviv driver.

Signed-off-by: Tomeu Vizoso's avatarTomeu Vizoso <tomeu@tomeuvizoso.net>
parent 8b52e70f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment