We have to reject unknown flags for uAPI considerations, and also because the curent implementation limits their i915 storage space to two bits. v2: (Chris Wilson) * Fix fail in ABI check. * Added unknown flags and BUILD_BUG_ON. v3: * Use ARCH_KMALLOC_MINALIGN instead of alignof. (Chris Wilson)
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -839,6 +839,7 @@ struct drm_i915_gem_exec_fence { · 838 unmodified lines | ||
| 839 | 839 | |
| 840 | 840 | #define I915_EXEC_FENCE_WAIT (1<<0) |
| 841 | 841 | #define I915_EXEC_FENCE_SIGNAL (1<<1) |
| 842 | +#define __I915_EXEC_FENCE_UNKNOWN_FLAGS (-(I915_EXEC_FENCE_SIGNAL << 1)) | |
| 842 | 843 | __u32 flags; |
| 843 | 844 | }; |
| 844 | 845 | |