summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-11-04 04:53:10 +0300
committerEric Anholt <eric@anholt.net>2016-11-04 04:55:46 +0300
commit7154d76fedf549607afbc0d13db9aaf02da5cebf (patch)
tree293a38135a214f039c88351724c3605b988afb31 /include/uapi
parent457e67a728696c4f8e6423c64e93def50530db9a (diff)
downloadlinux-7154d76fedf549607afbc0d13db9aaf02da5cebf.tar.xz
drm/vc4: Add support for rendering with ETC1 textures.
The validation for it ends up being quite simple, but I hadn't got around to it before merging the driver. For backwards compatibility, we also need to add a flag so that the userspace GL driver can easily tell if the kernel will allow ETC1 textures (on an old kernel, it will continue to convert to RGBA8) Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/uapi')
-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 ad7edc3edf7c..69caa21f0cb2 100644
--- a/include/uapi/drm/vc4_drm.h
+++ b/include/uapi/drm/vc4_drm.h
@@ -286,6 +286,7 @@ struct drm_vc4_get_hang_state {
#define DRM_VC4_PARAM_V3D_IDENT1 1
#define DRM_VC4_PARAM_V3D_IDENT2 2
#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
+#define DRM_VC4_PARAM_SUPPORTS_ETC1 4
struct drm_vc4_get_param {
__u32 param;