History

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)

Eric Anholt committed 10 years ago

Commit 7154d761 parent 457e67a3 files · +9 −0Browse files

Showing the changes to include/uapi/drm (1 of 3 files). Show all

Unified · Split

include/uapi/drm/vc4_drm.h+1−0
@@ -286,6 +286,7 @@ struct drm_vc4_get_hang_state { · 285 unmodified lines
286286 #define DRM_VC4_PARAM_V3D_IDENT1 1
287287 #define DRM_VC4_PARAM_V3D_IDENT2 2
288288 #define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
289+#define DRM_VC4_PARAM_SUPPORTS_ETC1 4
289290
290291 struct drm_vc4_get_param {
291292 __u32 param;