commit | 7f8fd02dc7cad1ddcfb610db10ffbb41e3e34e7d | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Mon Jul 11 17:36:45 2016 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Sat Jul 30 09:23:42 2016 -0400 |
tree | 755aec6bfa8e4d9cb4614dd5a8b58e4b21a6b73d | |
parent | 10baf05b2caaa0900c71ac64c91301e953176516 [diff] |
freedreno: re-order support for hw queries Push query state down to batch, and use the resource tracking to figure out which batch(es) need to be flushed to get the query result. This means we actually need to allocate the prsc up front, before we know the size. So we have to add a special way to allocate an un- backed resource, and then later allocate the backing storage. Signed-off-by: Rob Clark <robdclark@gmail.com>