intel/decoder: Fix decoder handling of binding table pool alloc on XeHP
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Mar 2022 23:50:43 +0000 (16:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Mar 2022 09:35:54 +0000 (02:35 -0700)
3DSTATE_BINDING_TABLE_POOL_ALLOC no longer has a "Binding Table Pool
Enable" bit.  It is always enabled.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15625>

src/intel/common/intel_batch_decoder.c

index d927598..9a2b286 100644 (file)
@@ -263,7 +263,7 @@ handle_binding_table_pool_alloc(struct intel_batch_decode_ctx *ctx,
       }
    }
 
-   if (bt_pool_enable) {
+   if (bt_pool_enable || ctx->devinfo.verx10 >= 125) {
       ctx->bt_pool_base = bt_pool_base;
    } else {
       ctx->bt_pool_base = 0;