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. Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
6d45c81d22
commit
7363cee5b4
2 changed files with 4 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ struct drm_vc4_get_hang_state {
|
|||
#define DRM_VC4_PARAM_V3D_IDENT0 0
|
||||
#define DRM_VC4_PARAM_V3D_IDENT1 1
|
||||
#define DRM_VC4_PARAM_V3D_IDENT2 2
|
||||
#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
|
||||
|
||||
struct drm_vc4_get_param {
|
||||
__u32 param;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue