History

drm/i915: Reject unknown syncobj flags

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)

Tvrtko Ursulin committed 9 years ago

Commit ebcaa1f1 parent 49e43ef2 files · +9 −0Browse files

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

Unified · Split

include/uapi/drm/i915_drm.h+1−0
@@ -839,6 +839,7 @@ struct drm_i915_gem_exec_fence { · 838 unmodified lines
839839
840840 #define I915_EXEC_FENCE_WAIT (1<<0)
841841 #define I915_EXEC_FENCE_SIGNAL (1<<1)
842+#define __I915_EXEC_FENCE_UNKNOWN_FLAGS (-(I915_EXEC_FENCE_SIGNAL << 1))
842843 __u32 flags;
843844 };
844845

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t