summaryrefslogtreecommitdiff
path: root/src/video_core/host1x/control.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2022-01-30 22:26:01 +0100
committerGravatar Fernando Sahmkow2022-10-06 21:00:52 +0200
commit2931101e6f5aa755566ef40f6e6dc71909fd3e92 (patch)
tree76e847786e355e24a136562d42177b895a03315e /src/video_core/host1x/control.cpp
parentVideoCore: Refactor syncing. (diff)
downloadyuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.tar.gz
yuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.tar.xz
yuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.zip
NVDRV: Refactor Host1x
Diffstat (limited to 'src/video_core/host1x/control.cpp')
-rw-r--r--src/video_core/host1x/control.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/host1x/control.cpp b/src/video_core/host1x/control.cpp
index b72b01aa3..a81c635ae 100644
--- a/src/video_core/host1x/control.cpp
+++ b/src/video_core/host1x/control.cpp
@@ -3,13 +3,12 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/assert.h" 5#include "common/assert.h"
6#include "video_core/gpu.h"
7#include "video_core/host1x/control.h" 6#include "video_core/host1x/control.h"
8#include "video_core/host1x/host1x.h" 7#include "video_core/host1x/host1x.h"
9 8
10namespace Tegra::Host1x { 9namespace Tegra::Host1x {
11 10
12Control::Control(GPU& gpu_) : gpu(gpu_) {} 11Control::Control(Host1x& host1x_) : host1x(host1x_) {}
13 12
14Control::~Control() = default; 13Control::~Control() = default;
15 14
@@ -29,7 +28,7 @@ void Control::ProcessMethod(Method method, u32 argument) {
29} 28}
30 29
31void Control::Execute(u32 data) { 30void Control::Execute(u32 data) {
32 gpu.Host1x().GetSyncpointManager().WaitHost(data, syncpoint_value); 31 host1x.GetSyncpointManager().WaitHost(data, syncpoint_value);
33} 32}
34 33
35} // namespace Tegra::Host1x 34} // namespace Tegra::Host1x