mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
iris: allow bo cache for compressed bos on verx10 == 200
Test list mentioned in the issue is passing fine on current main. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11362 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32325>
This commit is contained in:
parent
3594a35610
commit
f0b7262209
1 changed files with 0 additions and 6 deletions
|
|
@ -289,12 +289,6 @@ bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size,
|
|||
if (flags & BO_ALLOC_PROTECTED)
|
||||
return NULL;
|
||||
|
||||
/* TODO: Enable bo cache for compressed bos
|
||||
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/11362
|
||||
*/
|
||||
if (bufmgr->devinfo.verx10 == 200 && (flags & BO_ALLOC_COMPRESSED))
|
||||
return NULL;
|
||||
|
||||
const struct intel_device_info *devinfo = &bufmgr->devinfo;
|
||||
struct iris_bucket_cache *cache = &bufmgr->bucket_cache[heap];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue