summaryrefslogtreecommitdiff
path: root/src/video_core/host1x/control.h
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.h
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.h')
-rw-r--r--src/video_core/host1x/control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/host1x/control.h b/src/video_core/host1x/control.h
index 04dac7d51..18a9b56c0 100644
--- a/src/video_core/host1x/control.h
+++ b/src/video_core/host1x/control.h
@@ -8,10 +8,10 @@
8#include "common/common_types.h" 8#include "common/common_types.h"
9 9
10namespace Tegra { 10namespace Tegra {
11class GPU;
12 11
13namespace Host1x { 12namespace Host1x {
14 13
14class Host1x;
15class Nvdec; 15class Nvdec;
16 16
17class Control { 17class Control {
@@ -22,7 +22,7 @@ public:
22 WaitSyncpt32 = 0x50, 22 WaitSyncpt32 = 0x50,
23 }; 23 };
24 24
25 explicit Control(GPU& gpu); 25 explicit Control(Host1x& host1x);
26 ~Control(); 26 ~Control();
27 27
28 /// Writes the method into the state, Invoke Execute() if encountered 28 /// Writes the method into the state, Invoke Execute() if encountered
@@ -33,7 +33,7 @@ private:
33 void Execute(u32 data); 33 void Execute(u32 data);
34 34
35 u32 syncpoint_value{}; 35 u32 syncpoint_value{};
36 GPU& gpu; 36 Host1x& host1x;
37}; 37};
38 38
39} // namespace Host1x 39} // namespace Host1x