At long last, I've got loops passing the piglit tests. (4 tests fail due to register allocation, and one fails for reasons I haven't debugged yet, but that's still a lot of new tests passing). The userspace side of loops can be found at http://github.com/anholt/mesa/tree/vc4-loops and I'll try to get an identity getparam patch sent out tomorrow. 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 | 28 ++ 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 | 12 + 6 files changed, 478 insertions(+), 44 deletions(-) -- 2.8.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel