History

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.

Eric Anholt committed 10 years ago

Commit 7363cee1 parent 6d45c812 files · +4 −0Browse files

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

Unified · Split

include/uapi/drm/vc4_drm.h+1−0
@@ -285,6 +285,7 @@ struct drm_vc4_get_hang_state { · 284 unmodified lines
285285 #define DRM_VC4_PARAM_V3D_IDENT0 0
286286 #define DRM_VC4_PARAM_V3D_IDENT1 1
287287 #define DRM_VC4_PARAM_V3D_IDENT2 2
288+#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
288289
289290 struct drm_vc4_get_param {
290291 __u32 param;

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