]> git.baikalelectronics.ru Git - kernel.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)
commitda0990e7208447e1530fe6a2b182e15556ba14a3
treec98b9e23f35f23be2c3b2fb7df71c417c7554b72
parentb5fa337a12e0bb65c584d4de16cebada6f300639
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