]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/vc4: Add a getparam to signal support for branches.
authorEric Anholt <eric@anholt.net>
Sat, 2 Jul 2016 21:14:27 +0000 (14:14 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jul 2016 22:19:51 +0000 (15:19 -0700)
commit7363cee5b467c31dc3af2ac98df0634bb8bbc668
treec98b9e23f35f23be2c3b2fb7df71c417c7554b72
parent6d45c81d229d71da54d374143e7d6abad4c0cf31
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>
drivers/gpu/drm/vc4/vc4_drv.c
include/uapi/drm/vc4_drm.h