summaryrefslogtreecommitdiffstats
path: root/src/broadcom/common
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-07-30 11:29:26 -0700
committerEric Anholt <eric@anholt.net>2018-07-30 14:29:01 -0700
commit103f21b13d839ccd011b06b5708e7b9c1b8d228e (patch)
treef0241ecd2d66b47bec6c26d4b55a54de6541219b /src/broadcom/common
parent89ac6fa4036da815b5cf4985f438cec73df67480 (diff)
v3d: Add a separate flag for CLIF ABI output versus human-readable CLs.
A few of the upcoming changes would make the V3D_DEBUG=cl output less readable, so let's make proper CLIF file production be under a separate V3D_DEBUG=clif flag.
Diffstat (limited to 'src/broadcom/common')
-rw-r--r--src/broadcom/common/v3d_debug.c1
-rw-r--r--src/broadcom/common/v3d_debug.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/broadcom/common/v3d_debug.c b/src/broadcom/common/v3d_debug.c
index 4fe86980188..97404448e58 100644
--- a/src/broadcom/common/v3d_debug.c
+++ b/src/broadcom/common/v3d_debug.c
@@ -41,6 +41,7 @@ uint32_t V3D_DEBUG = 0;
static const struct debug_control debug_control[] = {
{ "cl", V3D_DEBUG_CL},
+ { "clif", V3D_DEBUG_CLIF},
{ "qpu", V3D_DEBUG_QPU},
{ "vir", V3D_DEBUG_VIR},
{ "nir", V3D_DEBUG_NIR},
diff --git a/src/broadcom/common/v3d_debug.h b/src/broadcom/common/v3d_debug.h
index 75eb2718f30..d9f5255e216 100644
--- a/src/broadcom/common/v3d_debug.h
+++ b/src/broadcom/common/v3d_debug.h
@@ -54,6 +54,7 @@ extern uint32_t V3D_DEBUG;
#define V3D_DEBUG_PERF (1 << 10)
#define V3D_DEBUG_NORAST (1 << 11)
#define V3D_DEBUG_ALWAYS_FLUSH (1 << 12)
+#define V3D_DEBUG_CLIF (1 << 13)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "BROADCOM-MESA"