summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-07-02 14:14:27 -0700
committerEric Anholt <eric@anholt.net>2016-07-15 15:19:51 -0700
commit7363cee5b467c31dc3af2ac98df0634bb8bbc668 (patch)
treec98b9e23f35f23be2c3b2fb7df71c417c7554b72 /include/uapi/drm
parent6d45c81d229d71da54d374143e7d6abad4c0cf31 (diff)
drm/vc4: Add a getparam to signal support for branches.
Userspace needs to know if it can create shaders that do branching. Otherwise, for backwards compatibility with old kernels it needs to lower if statements to conditional assignments. Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/vc4_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/vc4_drm.h b/include/uapi/drm/vc4_drm.h
index 1143e954048d..ad7edc3edf7c 100644
--- a/include/uapi/drm/vc4_drm.h
+++ b/include/uapi/drm/vc4_drm.h
@@ -285,6 +285,7 @@ struct drm_vc4_get_hang_state {
#define DRM_VC4_PARAM_V3D_IDENT0 0
#define DRM_VC4_PARAM_V3D_IDENT1 1
#define DRM_VC4_PARAM_V3D_IDENT2 2
+#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
struct drm_vc4_get_param {
__u32 param;