Decanonize general state base address

Change-Id: I9c0bc92f5e11467d13c04fee4add85193e2a3c3f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
Pawel Wilma
2018-12-04 15:33:48 +01:00
committed by sys_ocldev
parent e5a8616d26
commit 835aa09e9c
2 changed files with 18 additions and 1 deletions

View File

@@ -35,7 +35,8 @@ void StateBaseAddressHelper<GfxFamily>::programStateBaseAddress(
pCmd->setDynamicStateBaseAddress(dsh.getHeapGpuBase());
// GSH must be set to 0 for stateless
pCmd->setGeneralStateBaseAddress(generalStateBase);
pCmd->setGeneralStateBaseAddress(GmmHelper::decanonize(generalStateBase));
pCmd->setSurfaceStateBaseAddress(ssh.getHeapGpuBase());
pCmd->setInstructionBaseAddress(internalHeapBase);