diff options
| author | bunnei <bunneidev@gmail.com> | 2021-01-07 12:42:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 12:42:28 -0800 |
| commit | aaf9e39f5624abee7457e8d81048516beaf43c4f (patch) | |
| tree | 7039db82d3a5b08b2f7d437bb572f818645a8e7d /src/core/hle/service/nvdrv/nvdrv.cpp | |
| parent | bcb702fa3e9d3f11748082f2ae9a5c1986b1ad8a (diff) | |
| parent | 16392a23cc864ef0fa8a768584fbcc64fec40f2a (diff) | |
Merge pull request #5237 from ameerj/nvdec-syncpt
nvdec: Incorporate syncpoint manager
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
| -rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index e03195afe..620c18728 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -55,9 +55,11 @@ Module::Module(Core::System& system) : syncpoint_manager{system.GPU()} { devices["/dev/nvdisp_disp0"] = std::make_shared<Devices::nvdisp_disp0>(system, nvmap_dev); devices["/dev/nvhost-ctrl"] = std::make_shared<Devices::nvhost_ctrl>(system, events_interface, syncpoint_manager); - devices["/dev/nvhost-nvdec"] = std::make_shared<Devices::nvhost_nvdec>(system, nvmap_dev); + devices["/dev/nvhost-nvdec"] = + std::make_shared<Devices::nvhost_nvdec>(system, nvmap_dev, syncpoint_manager); devices["/dev/nvhost-nvjpg"] = std::make_shared<Devices::nvhost_nvjpg>(system); - devices["/dev/nvhost-vic"] = std::make_shared<Devices::nvhost_vic>(system, nvmap_dev); + devices["/dev/nvhost-vic"] = + std::make_shared<Devices::nvhost_vic>(system, nvmap_dev, syncpoint_manager); } Module::~Module() = default; |
