commit | 9c84b6cce007e6ad7877c4787346b3a45ab1b0c7 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Dec 28 13:26:49 2015 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Dec 28 13:29:01 2015 -0800 |
tree | ddd49d6dd6211224f48d9ca561e60939dcb98dc1 | |
parent | 763176a3e2166b2f1757582948e985d6bca9531c [diff] |
anv/device: Set device->info sooner in CreateDevice anv_block_pool_init calls anv_block_pool_grow which checks device->info.has_llc to see if it needs to set caching parameters. If we don't set device->info early enough, this reads an undefined value which is probably 0 and not what we want on llc platforms. Found with valgrind.