mesa/src/intel
Lionel Landwerlin 9c1c1888d9 intel/fs: put scratch surface in the surface state heap
In 4ceaed7839 we made scratch surface state allocations part of the
internal heap (mapped to STATE_BASE_ADDRESS::SurfaceStateBaseAddress)
so that it doesn't uses slots in the application's expected 1M
descriptors (especially with vkd3d-proton).

But all our compiler code relies on BSS
(STATE_BASE_ADDRESS::BindlessSurfaceStateBaseAddress).

The additional issue is that there is only 26bits of surface offset
available in CS instruction (CFE_STATE, 3DSTATE_VS, etc...) for
scratch surfaces. So we need the drivers to put the scratch surfaces
in the first chunk of STATE_BASE_ADDRESS::SurfaceStateBaseAddress
(hence all the driver changes).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 4ceaed7839 ("anv: split internal surface states from descriptors")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7687
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19727>
2022-11-19 14:58:58 +00:00
..
blorp blorp: Fix typo in blorp_xy_block_copy_blt 2022-09-28 08:41:35 +00:00
ci ci/iris: drop glmark2 traces, useless 2022-11-18 14:42:32 +00:00
common intel: Add and use intel_gem_can_render_on_fd() 2022-11-07 17:22:14 +00:00
compiler intel/fs: put scratch surface in the surface state heap 2022-11-19 14:58:58 +00:00
dev intel: Add has_context_isolation to intel_device_info 2022-11-07 17:22:14 +00:00
ds common/utrace: Rename u_trace_context_actively_tracing to u_trace_should_process 2022-11-11 13:50:56 +00:00
genxml intel/genxml: fix width of 3DSTATE_TASK_CONTROL.MaximumNumberofThreadGroups 2022-11-02 08:56:53 +00:00
isl intel: Use common CONCAT/PASTE macros 2022-11-15 11:54:42 +00:00
nullhw-layer utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
perf intel/perf: fix printf formatting of size_t for 32bit builds 2022-11-18 23:29:16 +00:00
tools intel: Add and use intel_gem_get_param() 2022-11-07 17:22:14 +00:00
vulkan intel/fs: put scratch surface in the surface state heap 2022-11-19 14:58:58 +00:00
vulkan_hasvk anv/perf: fixup counter/query mapping 2022-11-17 12:57:06 +00:00
meson.build intel: add a hasvk vulkan driver 2022-09-02 09:40:45 +00:00