diff options
author | Eric Anholt <eric@anholt.net> | 2015-11-30 12:13:37 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-12-07 20:05:10 -0800 |
commit | d5b1a78a772f1e31a94f8babfa964152ec5e9aa5 (patch) | |
tree | fc74c0df66b4e6fd7d610a96fe8cb2a428db8399 /drivers/gpu/drm/vc4/vc4_trace_points.c | |
parent | d3f5168a0810005920e7a3d5ba83e249bd9a750c (diff) | |
download | linux-d5b1a78a772f1e31a94f8babfa964152ec5e9aa5.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_trace_points.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_trace_points.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_trace_points.c b/drivers/gpu/drm/vc4/vc4_trace_points.c new file mode 100644 index 000000000000..e6278f25716b --- /dev/null +++ b/drivers/gpu/drm/vc4/vc4_trace_points.c @@ -0,0 +1,14 @@ +/* + * Copyright (C) 2015 Broadcom + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "vc4_drv.h" + +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "vc4_trace.h" +#endif |