diff options
Diffstat (limited to 'src/video_core/host1x/control.cpp')
| -rw-r--r-- | src/video_core/host1x/control.cpp | 5 |
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 | ||
| 10 | namespace Tegra::Host1x { | 9 | namespace Tegra::Host1x { |
| 11 | 10 | ||
| 12 | Control::Control(GPU& gpu_) : gpu(gpu_) {} | 11 | Control::Control(Host1x& host1x_) : host1x(host1x_) {} |
| 13 | 12 | ||
| 14 | Control::~Control() = default; | 13 | Control::~Control() = default; |
| 15 | 14 | ||
| @@ -29,7 +28,7 @@ void Control::ProcessMethod(Method method, u32 argument) { | |||
| 29 | } | 28 | } |
| 30 | 29 | ||
| 31 | void Control::Execute(u32 data) { | 30 | void 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 |