{"push_id":1205781516,"size":5,"distinct_size":5,"ref":"refs/heads/drm-vc4-next","head":"a20d5fa61c32a0c94d237da642326db2ef3c7433","before":"5ecb488ed858fa013e173257c49ac83e58a82708","commits":[{"sha":"93aa9ae3e5523e49e4e5abacd4dbee0e4ab2d931","author":{"name":"Eric Anholt","email":"a16fbdd223a71781803acbd9bd107ba1353fc2f0@anholt.net"},"message":"drm/vc4: Add a bitmap of branch targets during shader validation.\n\nThis isn't used yet, it's just a first step toward loop validation.\nDuring the main parsing of instructions, we need to know when we hit a\nnew basic block so that we can reset validated state.\n\nv2: Fix a stray semicolon after an if block.  (caught by kbuild test).\n\nSigned-off-by: Eric Anholt <eric@anholt.net>","distinct":true,"url":"https://api.github.com/repos/anholt/linux/commits/93aa9ae3e5523e49e4e5abacd4dbee0e4ab2d931"},{"sha":"6d45c81d229d71da54d374143e7d6abad4c0cf31","author":{"name":"Eric Anholt","email":"a16fbdd223a71781803acbd9bd107ba1353fc2f0@anholt.net"},"message":"drm/vc4: Add support for branching in shader validation.\n\nWe're already checking that branch instructions are between the start\nof the shader and the proper PROG_END sequence.  The other thing we\nneed to make branching safe is to verify that the shader doesn't read\npast the end of the uniforms stream.\n\nTo do that, we require that at any basic block reading uniforms have\nthe following instructions:\n\nload_imm temp, <next offset within uniform stream>\nadd unif_addr, temp, unif\n\nThe instructions are generated by userspace, and the kernel verifies\nthat the load_imm is of the expected offset, and that the add adds it\nto a uniform.  We track which uniform in the stream that is, and at\ndraw call time fix up the uniform stream to have the address of the\nstart of the shader's uniforms at that location.\n\nSigned-off-by: Eric Anholt <eric@anholt.net>","distinct":true,"url":"https://api.github.com/repos/anholt/linux/commits/6d45c81d229d71da54d374143e7d6abad4c0cf31"},{"sha":"7363cee5b467c31dc3af2ac98df0634bb8bbc668","author":{"name":"Eric Anholt","email":"a16fbdd223a71781803acbd9bd107ba1353fc2f0@anholt.net"},"message":"drm/vc4: Add a getparam to signal support for branches.\n\nUserspace needs to know if it can create shaders that do branching.\nOtherwise, for backwards compatibility with old kernels it needs to\nlower if statements to conditional assignments.\n\nSigned-off-by: Eric Anholt <eric@anholt.net>","distinct":true,"url":"https://api.github.com/repos/anholt/linux/commits/7363cee5b467c31dc3af2ac98df0634bb8bbc668"},{"sha":"20e48fd6a9252e21528c7e39b874c8fdca97f25a","author":{"name":"Eric Anholt","email":"a16fbdd223a71781803acbd9bd107ba1353fc2f0@anholt.net"},"message":"drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS\n\nWe don't use it in shader validation currently, so it had no effect,\nbut best to fix it anyway in case we do some day.\n\nSigned-off-by: Eric Anholt <eric@anholt.net>","distinct":true,"url":"https://api.github.com/repos/anholt/linux/commits/20e48fd6a9252e21528c7e39b874c8fdca97f25a"},{"sha":"a20d5fa61c32a0c94d237da642326db2ef3c7433","author":{"name":"Eric Anholt","email":"a16fbdd223a71781803acbd9bd107ba1353fc2f0@anholt.net"},"message":"drm/vc4: Fix a \"the the\" typo in a comment.\n\nSigned-off-by: Eric Anholt <eric@anholt.net>","distinct":true,"url":"https://api.github.com/repos/anholt/linux/commits/a20d5fa61c32a0c94d237da642326db2ef3c7433"}]}
{"actor":{"display_login":"anholt"}}