aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_trace_points.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-11-30 12:13:37 -0800
committerEric Anholt <eric@anholt.net>2015-12-07 20:05:10 -0800
commitd5b1a78a772f1e31a94f8babfa964152ec5e9aa5 (patch)
treefc74c0df66b4e6fd7d610a96fe8cb2a428db8399 /drivers/gpu/drm/vc4/vc4_trace_points.c
parentdrm/vc4: Bind and initialize the V3D engine. (diff)
downloadlinux-dev-d5b1a78a772f1e31a94f8babfa964152ec5e9aa5.tar.xz
linux-dev-d5b1a78a772f1e31a94f8babfa964152ec5e9aa5.zip
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.c14
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