Added empty programMiFlushDwWA() workaround.
Related-To: NEO-3940 Change-Id: Ibc0978557004ed599a6698d76dc0f55bd26f8999
This commit is contained in:
parent
816eb19cce
commit
9fadc918c7
|
@ -216,6 +216,7 @@ template <typename GfxFamily>
|
|||
struct EncodeMiFlushDW {
|
||||
using MI_FLUSH_DW = typename GfxFamily::MI_FLUSH_DW;
|
||||
static void programMiFlushDw(LinearStream &commandStream, uint64_t immediateDataGpuAddress, uint64_t immediateData);
|
||||
static void programMiFlushDwWA(LinearStream &commandStream);
|
||||
static void appendMiFlushDw(MI_FLUSH_DW *miFlushDwCmd);
|
||||
};
|
||||
} // namespace NEO
|
||||
|
|
|
@ -394,6 +394,8 @@ void EncodeSurfaceState<Family>::getSshAlignedPointer(uintptr_t &ptr, size_t &of
|
|||
|
||||
template <typename GfxFamily>
|
||||
void EncodeMiFlushDW<GfxFamily>::programMiFlushDw(LinearStream &commandStream, uint64_t immediateDataGpuAddress, uint64_t immediateData) {
|
||||
programMiFlushDwWA(commandStream);
|
||||
|
||||
auto miFlushDwCmd = commandStream.getSpaceForCmd<MI_FLUSH_DW>();
|
||||
*miFlushDwCmd = GfxFamily::cmdInitMiFlushDw;
|
||||
miFlushDwCmd->setPostSyncOperation(MI_FLUSH_DW::POST_SYNC_OPERATION_WRITE_IMMEDIATE_DATA_QWORD);
|
||||
|
@ -402,4 +404,7 @@ void EncodeMiFlushDW<GfxFamily>::programMiFlushDw(LinearStream &commandStream, u
|
|||
appendMiFlushDw(miFlushDwCmd);
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void EncodeMiFlushDW<GfxFamily>::programMiFlushDwWA(LinearStream &commandStream) {}
|
||||
|
||||
} // namespace NEO
|
||||
|
|
Loading…
Reference in New Issue