[GIT PULL] drm-vc4-next-2016-07-15 (loops)
From: Eric Anholt
Date: Fri Jul 15 2016 - 18:35:45 EST
Thanks for pulling the other changes. Here's my last set of new code
for 4.8, my series for enabling real loops in GLSL. This is pretty
exciting, as it's a major hardware feature that the closed source
driver never supported.
The commits are quite fresh, as kbuild test robot caught a stray ';'
that I cleaned up. I booted it and touch-tested loops after fixing.
The following changes since commit deb4765db386db67626ffd075d8b5eb5fdf9c4f6:
drm/vc4: remove redundant ret status check (2016-07-11 17:23:50 -0700)
are available in the git repository at:
https://github.com/anholt/linux tags/drm-vc4-next-2016-07-15
for you to fetch changes up to a20d5fa61c32a0c94d237da642326db2ef3c7433:
drm/vc4: Fix a "the the" typo in a comment. (2016-07-15 15:19:52 -0700)
----------------------------------------------------------------
This pull request brings in vc4 shader validation for branching,
allowing GLSL shaders with non-unrolled loops.
----------------------------------------------------------------
Eric Anholt (7):
drm/vc4: Add a getparam ioctl for getting the V3D identity regs.
drm/vc4: Move validation's current/max ip into the validation struct.
drm/vc4: Add a bitmap of branch targets during shader validation.
drm/vc4: Add support for branching in shader validation.
drm/vc4: Add a getparam to signal support for branches.
drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS
drm/vc4: Fix a "the the" typo in a comment.
drivers/gpu/drm/vc4/vc4_drv.c | 45 +++
drivers/gpu/drm/vc4/vc4_drv.h | 3 +
drivers/gpu/drm/vc4/vc4_qpu_defines.h | 17 +-
drivers/gpu/drm/vc4/vc4_validate.c | 13 +-
drivers/gpu/drm/vc4/vc4_validate_shaders.c | 449 ++++++++++++++++++++++++++---
include/uapi/drm/vc4_drm.h | 13 +
6 files changed, 496 insertions(+), 44 deletions(-)