accel/rocket: Add job submission IOCTL
Using the DRM GPU scheduler infrastructure, with a scheduler for each
core.
Userspace can decide for a series of tasks to be executed sequentially
in the same core, so SRAM locality can be taken advantage of.
The job submission code was initially based on Panfrost.
v2:
- Remove hardcoded number of cores
- Misc. style fixes (Jeffrey Hugo)
- Repack IOCTL struct (Jeffrey Hugo)
Signed-off-by:
Tomeu Vizoso <tomeu@tomeuvizoso.net>
Showing
- drivers/accel/rocket/Makefile 2 additions, 1 deletiondrivers/accel/rocket/Makefile
- drivers/accel/rocket/rocket_core.c 6 additions, 0 deletionsdrivers/accel/rocket/rocket_core.c
- drivers/accel/rocket/rocket_core.h 14 additions, 0 deletionsdrivers/accel/rocket/rocket_core.h
- drivers/accel/rocket/rocket_device.c 2 additions, 0 deletionsdrivers/accel/rocket/rocket_device.c
- drivers/accel/rocket/rocket_device.h 2 additions, 0 deletionsdrivers/accel/rocket/rocket_device.h
- drivers/accel/rocket/rocket_drv.c 15 additions, 0 deletionsdrivers/accel/rocket/rocket_drv.c
- drivers/accel/rocket/rocket_drv.h 4 additions, 0 deletionsdrivers/accel/rocket/rocket_drv.h
- drivers/accel/rocket/rocket_job.c 704 additions, 0 deletionsdrivers/accel/rocket/rocket_job.c
- drivers/accel/rocket/rocket_job.h 50 additions, 0 deletionsdrivers/accel/rocket/rocket_job.h
- include/uapi/drm/rocket_accel.h 55 additions, 0 deletionsinclude/uapi/drm/rocket_accel.h
Loading
Please register or sign in to comment