-
- Downloads
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 <tomeu@tomeuvizoso.net>
Showing
- drivers/accel/rocket/rocket_drv.c 2 additions, 0 deletionsdrivers/accel/rocket/rocket_drv.c
- drivers/accel/rocket/rocket_gem.c 68 additions, 0 deletionsdrivers/accel/rocket/rocket_gem.c
- drivers/accel/rocket/rocket_gem.h 6 additions, 1 deletiondrivers/accel/rocket/rocket_gem.h
- include/uapi/drm/rocket_accel.h 19 additions, 1 deletioninclude/uapi/drm/rocket_accel.h
Loading
Please register or sign in to comment