mesa/src/intel
Lionel Landwerlin d7ca6ccee2 anv: split internal surface states from descriptors
On Intel HW we use the same mechanism for internal operations surfaces
as well as application surfaces (VkDescriptor).

This change splits the surface pool in 2, one part dedicated to
internal allocations, the other to application VkDescriptors.

To do so, the STATE_BASE_ADDRESS::SurfaceStateBaseAddress points to a
4Gb area, with the following layout :
   - 1Gb of binding table pool
   - 2Gb of internal surface states
   - 1Gb of bindless surface states

That way any entry from the binding table can refer to both internal &
bindless surface states but none of the driver allocations interfere
with the allocation of the application.

Based off a change from Sviatoslav Peleshko.

v2: Allocate image view null surface state from bindless heap (Sviatoslav)
    Removed debug stuff (Sviatoslav)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7110
Cc: mesa-stable
Tested-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19275>
(cherry picked from commit 4ceaed7839)
2022-11-17 14:05:03 +00:00
..
blorp blorp: Fix typo in blorp_xy_block_copy_blt 2022-09-28 08:41:35 +00:00
ci glsl: drop sub to add neg lowering in GLSL IR 2022-10-19 03:52:21 +00:00
common utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
compiler intel: Don't cross DWORD boundaries with byte scratch load/store 2022-11-09 21:22:06 +00:00
dev utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
ds anv: add mesh shading tracepoints 2022-10-27 15:03:28 +00:00
genxml intel/genxml: fix width of 3DSTATE_TASK_CONTROL.MaximumNumberofThreadGroups 2022-11-02 08:56:53 +00:00
isl isl: add new MOCS field for protected buffers 2022-10-27 10:53:18 +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: Use intel_device_info functions to compute subslice and eu totals 2022-10-28 20:12:07 +00:00
tools intel: Convert i915 engine type to intel in tools/ common/ and ds/ 2022-10-15 20:04:51 +00:00
vulkan anv: split internal surface states from descriptors 2022-11-17 14:05:03 +00:00
vulkan_hasvk hasvk: fix android build and reported API version 2022-11-09 21:22:05 +00:00
meson.build intel: add a hasvk vulkan driver 2022-09-02 09:40:45 +00:00