diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-01 18:53:32 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:51 +0200 |
commit | 3cbe352c18f69596d91c4862382d61a3d6515140 (patch) | |
tree | ad03ae10647c26a0913344ed62b47a768eb67736 /src/core/hle/service/nvdrv/devices/nvhost_gpu.h | |
parent | NVDRV: Cleanup. (diff) | |
download | yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.gz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.bz2 yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.lz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.xz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.zst yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_gpu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h index eb4936df0..4f73a7bae 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h +++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h @@ -14,7 +14,12 @@ #include "video_core/dma_pusher.h" namespace Service::Nvidia { + +namespace NvCore { +class Container; class SyncpointManager; +} // namespace NvCore + class EventInterface; } // namespace Service::Nvidia @@ -24,7 +29,7 @@ class nvmap; class nvhost_gpu final : public nvdevice { public: explicit nvhost_gpu(Core::System& system_, std::shared_ptr<nvmap> nvmap_dev_, - EventInterface& events_interface_, SyncpointManager& syncpoint_manager_); + EventInterface& events_interface_, NvCore::Container& core); ~nvhost_gpu() override; NvResult Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input, @@ -196,7 +201,8 @@ private: std::shared_ptr<nvmap> nvmap_dev; EventInterface& events_interface; - SyncpointManager& syncpoint_manager; + NvCore::Container& core; + NvCore::SyncpointManager& syncpoint_manager; NvFence channel_fence; // Events |