From 9bc97e4fc16ec2068f5ee060bd08339eb5874661 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 28 Mar 2022 16:50:43 -0700 Subject: [PATCH] intel/decoder: Fix decoder handling of binding table pool alloc on XeHP 3DSTATE_BINDING_TABLE_POOL_ALLOC no longer has a "Binding Table Pool Enable" bit. It is always enabled. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/common/intel_batch_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/common/intel_batch_decoder.c b/src/intel/common/intel_batch_decoder.c index d9275986864..9a2b2861a19 100644 --- a/src/intel/common/intel_batch_decoder.c +++ b/src/intel/common/intel_batch_decoder.c @@ -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;