mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
lib/rendercopy_gen9: WaBindlessSurfaceStateModifyEnable
Don't set the size of bindless surface state on rendercopy. And as of doing so, take into account the workaround for setting the command size. This was tried during hunting for https://bugs.freedesktop.org/show_bug.cgi?id=89959. But no impact was found. Cc: Arun Siluvery <arun.siluvery@linux.intel.com> Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
parent
d524a964fc
commit
8a68ec1453
@ -511,7 +511,11 @@ gen7_emit_push_constants(struct intel_batchbuffer *batch) {
|
||||
|
||||
static void
|
||||
gen9_emit_state_base_address(struct intel_batchbuffer *batch) {
|
||||
OUT_BATCH(GEN6_STATE_BASE_ADDRESS | (19 - 2));
|
||||
|
||||
/* WaBindlessSurfaceStateModifyEnable:skl,bxt */
|
||||
/* The length has to be one less if we dont modify
|
||||
bindless state */
|
||||
OUT_BATCH(GEN6_STATE_BASE_ADDRESS | (19 - 1 - 2));
|
||||
|
||||
/* general */
|
||||
OUT_BATCH(0 | BASE_ADDRESS_MODIFY);
|
||||
@ -544,9 +548,9 @@ gen9_emit_state_base_address(struct intel_batchbuffer *batch) {
|
||||
OUT_BATCH(1 << 12 | 1);
|
||||
|
||||
/* Bindless surface state base address */
|
||||
OUT_BATCH(0 | BASE_ADDRESS_MODIFY);
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0xfffff000);
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user