summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2020-11-08 09:11:34 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2020-11-10 05:57:35 +0100
commit31c12de0fecec5889020191ca6de0b7fbf8c51ba (patch)
tree530f9569b0e145f83b6e876886698403a73b02f7 /src/core/hle/service/nvdrv/devices/nvhost_nvdec.h
parentMerge pull request #4909 from lioncash/interrupt (diff)
downloadyuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.gz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.bz2
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.lz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.xz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.zst
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec.h25
1 files changed, 5 insertions, 20 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h
index 102777ddd..79b8b6de1 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h
@@ -14,26 +14,11 @@ public:
explicit nvhost_nvdec(Core::System& system, std::shared_ptr<nvmap> nvmap_dev);
~nvhost_nvdec() override;
- u32 ioctl(Ioctl command, const std::vector<u8>& input, const std::vector<u8>& input2,
- std::vector<u8>& output, std::vector<u8>& output2, IoctlCtrl& ctrl,
- IoctlVersion version) override;
-
-private:
- enum class IoctlCommand : u32_le {
- IocSetNVMAPfdCommand = 0x40044801,
- IocSubmit = 0xC0400001,
- IocGetSyncpoint = 0xC0080002,
- IocGetWaitbase = 0xC0080003,
- IocMapBuffer = 0xC01C0009,
- IocMapBuffer2 = 0xC16C0009,
- IocMapBuffer3 = 0xC15C0009,
- IocMapBufferEx = 0xC0A40009,
- IocUnmapBuffer = 0xC0A4000A,
- IocUnmapBuffer2 = 0xC16C000A,
- IocUnmapBufferEx = 0xC01C000A,
- IocUnmapBuffer3 = 0xC15C000A,
- IocSetSubmitTimeout = 0x40040007,
- };
+ NvResult Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) override;
+ NvResult Ioctl2(Ioctl command, const std::vector<u8>& input,
+ const std::vector<u8>& inline_input, std::vector<u8>& output) override;
+ NvResult Ioctl3(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ std::vector<u8>& inline_output) override;
};
} // namespace Service::Nvidia::Devices