Skip to content

intel: Emit 3DSTATE_BINDING_TABLE_POOL_ALLOC for XeHP

Jordan Justen requested to merge jljusten/mesa:dg2-bt-pool-alloc into main

On XeHP+, Binding Table Pointers are an offset relative to the Surface State Base Address anymore. Instead, they are relative to the State Binding Table Pool Address, which is set by the command above.

We emit that command (pointing to the same address as the Surface State Base Addresss), and everything should stay working as before.

Reworks:

  • Jordan: Add iris
  • Jordan: Drop i965
  • Ken: Set MOCS to avoid a major perf impact. (Found by Felix DeGrood.)

@kwg, @fjdegroo: I squashed your patch for mocs into @rantogno's patch, but I can easily split them back up if preferred.

Merge request reports