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
285#define DRM_VC4_PARAM_V3D_IDENT0 0285#define DRM_VC4_PARAM_V3D_IDENT0 0
286#define DRM_VC4_PARAM_V3D_IDENT1 1286#define DRM_VC4_PARAM_V3D_IDENT1 1
287#define DRM_VC4_PARAM_V3D_IDENT2 2287#define DRM_VC4_PARAM_V3D_IDENT2 2
288#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
288 289
289struct drm_vc4_get_param {290struct drm_vc4_get_param {
290 __u32 param;291 __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