Debian Codegraph @

shared/source/direct_submission/dispatchers/blitter_dispatcher.h

raw
1 /*
2 * Copyright (C) 2020-2025 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #pragma once
9 #include "shared/source/direct_submission/dispatchers/dispatcher.h"
10
11 namespace NEO {
12
13 struct RootDeviceEnvironment;
14 class ProductHelper;
15
16 template <typename GfxFamily>
17 class BlitterDispatcher : public Dispatcher<GfxFamily> {
18 public:
19 static void dispatchPreemption(LinearStream &cmdBuffer);
20 static size_t getSizePreemption();
21
22 static void dispatchMonitorFence(LinearStream &cmdBuffer,
23 uint64_t gpuAddress,
24 uint64_t immediateData,
25 const RootDeviceEnvironment &rootDeviceEnvironment,
26 bool partitionedWorkload,
27 bool dcFlushRequired,
28 bool notifyKmd);
29 static size_t getSizeMonitorFence(const RootDeviceEnvironment &rootDeviceEnvironment);
30
31 static void dispatchTlbFlush(LinearStream &cmdBuffer, uint64_t address, const RootDeviceEnvironment &rootDeviceEnvironment);
32 static size_t getSizeTlbFlush(const RootDeviceEnvironment &rootDeviceEnvironment);
33 static bool isMultiTileSynchronizationSupported() {
34 return false;
35 }
36 static constexpr bool isCopy() {
37 return true;
38 }
39 };
40 } // namespace NEO