drm/vc4: Add support for drawing 3D frames.
The user submission is basically a pointer to a command list and a
pointer to uniforms. We copy those in to the kernel, validate and
relocate them, and store the result in a GPU BO which we queue for
execution.
v2: Drop support for NV shader recs (not necessary for GL), simplify
vc4_use_bo(), improve bin flush/semaphore checks, use __u32 style
types.
Signed-off-by:
Eric Anholt <eric@anholt.net>
Showing
- drivers/gpu/drm/vc4/Makefile 7 additions, 0 deletionsdrivers/gpu/drm/vc4/Makefile
- drivers/gpu/drm/vc4/vc4_drv.c 14 additions, 1 deletiondrivers/gpu/drm/vc4/vc4_drv.c
- drivers/gpu/drm/vc4/vc4_drv.h 182 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_drv.h
- drivers/gpu/drm/vc4/vc4_gem.c 642 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_gem.c
- drivers/gpu/drm/vc4/vc4_irq.c 210 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_irq.c
- drivers/gpu/drm/vc4/vc4_packet.h 399 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_packet.h
- drivers/gpu/drm/vc4/vc4_render_cl.c 634 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_render_cl.c
- drivers/gpu/drm/vc4/vc4_trace.h 63 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_trace.h
- drivers/gpu/drm/vc4/vc4_trace_points.c 14 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_trace_points.c
- drivers/gpu/drm/vc4/vc4_v3d.c 37 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_v3d.c
- drivers/gpu/drm/vc4/vc4_validate.c 900 additions, 0 deletionsdrivers/gpu/drm/vc4/vc4_validate.c
- include/uapi/drm/vc4_drm.h 141 additions, 0 deletionsinclude/uapi/drm/vc4_drm.h
Loading
Please register or sign in to comment