commit | 880871b3787d2664daefe228bc99ead298d5a76e | [log] [tgz] |
---|---|---|
author | Rob Clark <robclark@freedesktop.org> | Wed Oct 10 12:51:33 2018 -0400 |
committer | Rob Clark <robclark@freedesktop.org> | Sat Oct 13 17:23:35 2018 -0400 |
tree | 77a7768e34a37c7e06e1e4b34e03707eece8ceec | |
parent | 5c4722e9078a845dce097168731f1be88cf61e75 [diff] |
freedreno/msm: use hashtable to track submit.cmds table With streaming stateobjs to upload uniforms, the submit.cmds table gets much larger, and iterating over it for each ring to ring reloc starts getting expensive. TODO if we have flag to pass when constructing parent rb, we could avoid dynamically allocating this and bo_table in get_cmd() or bo2idx Signed-off-by: Rob Clark <robclark@freedesktop.org>