drm/vc4: Add support for drawing 3D frames.
authorEric Anholt <eric@anholt.net>
Mon, 30 Nov 2015 20:13:37 +0000 (12:13 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 04:05:10 +0000 (20:05 -0800)
commitd5b1a78a772f1e31a94f8babfa964152ec5e9aa5
treefc74c0df66b4e6fd7d610a96fe8cb2a428db8399
parentd3f5168a0810005920e7a3d5ba83e249bd9a750c
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>
12 files changed:
drivers/gpu/drm/vc4/Makefile
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_irq.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_packet.h [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_render_cl.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_trace.h [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_trace_points.c [new file with mode: 0644]
drivers/gpu/drm/vc4/vc4_v3d.c
drivers/gpu/drm/vc4/vc4_validate.c [new file with mode: 0644]
include/uapi/drm/vc4_drm.h