/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_container/command_encoder.h" #include "shared/source/command_stream/linear_stream.h" #include "shared/source/direct_submission/dispatchers/blitter_dispatcher.h" #include "shared/source/helpers/hw_info.h" namespace NEO { template inline void BlitterDispatcher::dispatchPreemption(LinearStream &cmdBuffer) { } template inline size_t BlitterDispatcher::getSizePreemption() { size_t size = 0; return size; } template inline void BlitterDispatcher::dispatchMonitorFence(LinearStream &cmdBuffer, uint64_t gpuAddress, uint64_t immediateData, const HardwareInfo &hwInfo) { EncodeMiFlushDW::programMiFlushDw(cmdBuffer, gpuAddress, immediateData, false, true); } template inline size_t BlitterDispatcher::getSizeMonitorFence(const HardwareInfo &hwInfo) { size_t size = EncodeMiFlushDW::getMiFlushDwCmdSizeForDataWrite(); return size; } template inline void BlitterDispatcher::dispatchCacheFlush(LinearStream &cmdBuffer, const HardwareInfo &hwInfo) { EncodeMiFlushDW::programMiFlushDw(cmdBuffer, 0ull, 0ull, false, false); } template inline size_t BlitterDispatcher::getSizeCacheFlush(const HardwareInfo &hwInfo) { size_t size = EncodeMiFlushDW::getMiFlushDwCmdSizeForDataWrite(); return size; } } // namespace NEO