summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-04-20 02:16:56 -0400
committerGravatar Fernando Sahmkow2020-04-23 08:52:55 -0400
commit3fedcc2f6e001f0ed1fd791de4f9692570359eef (patch)
tree49109516beab33d825cc653d4e885107304da332 /src/video_core/gpu.h
parentMerge pull request #3730 from lioncash/time (diff)
downloadyuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.gz
yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.xz
yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.zip
DMAPusher: Propagate multimethod writes into the engines.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 5e3eb94e9..4d7e2651c 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -155,6 +155,9 @@ public:
155 /// Calls a GPU method. 155 /// Calls a GPU method.
156 void CallMethod(const MethodCall& method_call); 156 void CallMethod(const MethodCall& method_call);
157 157
158 /// Calls a GPU multivalue method.
159 void CallMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, u32 methods_pending);
160
158 /// Flush all current written commands into the host GPU for execution. 161 /// Flush all current written commands into the host GPU for execution.
159 void FlushCommands(); 162 void FlushCommands();
160 /// Synchronizes CPU writes with Host GPU memory. 163 /// Synchronizes CPU writes with Host GPU memory.
@@ -309,8 +312,11 @@ private:
309 /// Calls a GPU engine method. 312 /// Calls a GPU engine method.
310 void CallEngineMethod(const MethodCall& method_call); 313 void CallEngineMethod(const MethodCall& method_call);
311 314
315 /// Calls a GPU engine multivalue method.
316 void CallEngineMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, u32 methods_pending);
317
312 /// Determines where the method should be executed. 318 /// Determines where the method should be executed.
313 bool ExecuteMethodOnEngine(const MethodCall& method_call); 319 bool ExecuteMethodOnEngine(u32 method);
314 320
315protected: 321protected:
316 std::unique_ptr<Tegra::DmaPusher> dma_pusher; 322 std::unique_ptr<Tegra::DmaPusher> dma_pusher;