Add Preemption WA waModifyVFEStateAfterGPGPUPreemption for WALKER replay issue

Change-Id: I046e7296157b4b527ad65733ea417fbc364aac9c
This commit is contained in:
Zdanowicz, Zbigniew
2018-01-02 12:10:34 +01:00
parent ca45fce7b3
commit 5cfb102359
17 changed files with 481 additions and 49 deletions

View File

@@ -87,6 +87,7 @@ int HwInfoConfigHw<IGFX_SKYLAKE>::configureHardwareCustom(HardwareInfo *hwInfo,
}
if ((1 << hwInfo->pPlatform->usRevId) & 0x0fu) {
pWaTable->waDisablePerCtxtPreemptionGranularityControl = 1;
pWaTable->waModifyVFEStateAfterGPGPUPreemption = 1;
}
if (hwInfo->pPlatform->usDeviceID == ISKL_GT3e_ULT_DEVICE_F0_ID_540 ||

View File

@@ -21,6 +21,7 @@
*/
#include "runtime/command_stream/preemption.h"
#include "runtime/command_stream/preemption.inl"
#include "runtime/memory_manager/graphics_allocation.h"
namespace OCLRT {
@@ -68,4 +69,7 @@ size_t PreemptionHelper::getRequiredCsrSize<GfxFamily>(PreemptionMode preemption
return size;
}
template size_t PreemptionHelper::getPreemptionWaCsSize<GfxFamily>(const Device &device);
template void PreemptionHelper::applyPreemptionWaCmdsBegin<GfxFamily>(LinearStream *pCommandStream, const Device &device);
template void PreemptionHelper::applyPreemptionWaCmdsEnd<GfxFamily>(LinearStream *pCommandStream, const Device &device);
} // namespace OCLRT