nvk/nil: don't ask for compressed image kind

These need special kernel handling around the mmu, avoid asking
for them, nvidia don't seem to use them with gsp either yet.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Dave Airlie 2023-03-20 09:41:38 +10:00 committed by Marge Bot
parent 983b5e9934
commit d66182b215

View file

@ -438,7 +438,7 @@ nil_image_init(struct nv_device_info *dev,
if (!(info->usage & NIL_IMAGE_USAGE_LINEAR_BIT)) {
image->pte_kind = nil_choose_pte_kind(dev, info->format, info->samples,
true /* TODO: compressed */);
false /* TODO: compressed */);
}
image->align_B = MAX2(image->align_B, 4096);