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:
Tapani Pälli 2024-11-25 10:07:23 +02:00 committed by Marge Bot
parent 3594a35610
commit f0b7262209

View file

@ -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];