intel: Increase Gen11 compute shader scratch IDs to 64.
From the MEDIA_VFE_STATE docs: "Starting with this configuration, the Maximum Number of Threads must be set to (#EU * 8) for GPGPU dispatches. Although there are only 7 threads per EU in the configuration, the FFTID is calculated as if there are 8 threads per EU, which in turn requires a larger amount of Scratch Space to be allocated by the driver." It's pretty clear that we need to increase this for scratch address calculations, because the FFTID has a certain bit-pattern. The quote above seems to indicate that we should increase the actual thread count programmed in MEDIA_VFE_STATE as well, but we think the intention is to only bump the scratch space. Fixes GPU hangs in Bioshock Infinite and Synmark's CSDof on Icelake 8x8. Fixes: 5ac804bd ("intel: Add a preliminary device for Ice Lake") Reviewed-by:Matt Turner <mattst88@gmail.com> (cherry picked from commit b9e93db2)
Showing
- src/gallium/drivers/iris/iris_program.c 15 additions, 0 deletionssrc/gallium/drivers/iris/iris_program.c
- src/intel/vulkan/anv_allocator.c 13 additions, 1 deletionsrc/intel/vulkan/anv_allocator.c
- src/mesa/drivers/dri/i965/brw_program.c 13 additions, 1 deletionsrc/mesa/drivers/dri/i965/brw_program.c
Loading
Please register or sign in to comment