feature: bindless global heap with debugger

- program debugSurface's SurfaceState at the beginning of Bindless Surface
State Heap - SPECIAL_SSH
- ensure SPECIAL_SSH is resident

Related-To: NEO-7063

Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
This commit is contained in:
Hoppe, Mateusz
2023-09-28 19:33:44 +00:00
committed by Compute-Runtime-Automation
parent ba4c06811f
commit 5c565efe28
10 changed files with 181 additions and 13 deletions

View File

@@ -25,6 +25,8 @@
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/utilities/tag_allocator.h"
#include "encode_surface_state_args.h"
namespace NEO {
template <typename Family>
@@ -612,6 +614,10 @@ void GfxCoreHelperHw<GfxFamily>::adjustPreemptionSurfaceSize(size_t &csrSize) co
template <typename GfxFamily>
void GfxCoreHelperHw<GfxFamily>::encodeBufferSurfaceState(EncodeSurfaceStateArgs &args) const {
using RENDER_SURFACE_STATE = typename GfxFamily::RENDER_SURFACE_STATE;
auto surfaceState = reinterpret_cast<RENDER_SURFACE_STATE *>(args.outMemory);
*surfaceState = GfxFamily::cmdInitRenderSurfaceState;
EncodeSurfaceState<GfxFamily>::encodeBuffer(args);
}
template <typename GfxFamily>