diff options
author | Fernando Sahmkow <[email protected]> | 2022-01-30 22:26:01 +0100 |
---|---|---|
committer | Fernando Sahmkow <[email protected]> | 2022-10-06 21:00:52 +0200 |
commit | 2931101e6f5aa755566ef40f6e6dc71909fd3e92 (patch) | |
tree | 76e847786e355e24a136562d42177b895a03315e /src/video_core/host1x/sync_manager.h | |
parent | 668e80a9f42fb4ce0e16f6381d05bcbd286b2da1 (diff) | |
download | yuzu-android-2931101e6f5aa755566ef40f6e6dc71909fd3e92.tar.gz yuzu-android-2931101e6f5aa755566ef40f6e6dc71909fd3e92.zip |
NVDRV: Refactor Host1x
Diffstat (limited to 'src/video_core/host1x/sync_manager.h')
-rw-r--r-- | src/video_core/host1x/sync_manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/host1x/sync_manager.h b/src/video_core/host1x/sync_manager.h index aba72d5c5..7bb77fa27 100644 --- a/src/video_core/host1x/sync_manager.h +++ b/src/video_core/host1x/sync_manager.h @@ -9,10 +9,10 @@ namespace Tegra { -class GPU; - namespace Host1x { +class Host1x; + struct SyncptIncr { u32 id; u32 class_id; @@ -25,7 +25,7 @@ struct SyncptIncr { class SyncptIncrManager { public: - explicit SyncptIncrManager(GPU& gpu); + explicit SyncptIncrManager(Host1x& host1x); ~SyncptIncrManager(); /// Add syncpoint id and increment all @@ -45,7 +45,7 @@ private: std::mutex increment_lock; u32 current_id{}; - GPU& gpu; + Host1x& host1x; }; } // namespace Host1x |