summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-19 07:37:25 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-19 07:37:25 +0200
commitf9259c03832eff2d71279802af56d14c14b69844 (patch)
treef45411a9f9421f047c58c7a89215daeefec26cfc /src/core/hle/service/nvdrv/devices/nvhost_gpu.h
parentMerge pull request #2784 from ReinUsesLisp/smem (diff)
downloadyuzu-f9259c03832eff2d71279802af56d14c14b69844.tar
yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.gz
yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.bz2
yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.lz
yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.xz
yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.zst
yuzu-f9259c03832eff2d71279802af56d14c14b69844.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_gpu.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
index d2e8fbae9..d056dd046 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
@@ -24,8 +24,9 @@ public:
explicit nvhost_gpu(Core::System& system, std::shared_ptr<nvmap> nvmap_dev);
~nvhost_gpu() override;
- u32 ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
- IoctlCtrl& ctrl) 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 {
@@ -183,7 +184,8 @@ private:
u32 AllocGPFIFOEx2(const std::vector<u8>& input, std::vector<u8>& output);
u32 AllocateObjectContext(const std::vector<u8>& input, std::vector<u8>& output);
u32 SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& output);
- u32 KickoffPB(const std::vector<u8>& input, std::vector<u8>& output);
+ u32 KickoffPB(const std::vector<u8>& input, std::vector<u8>& output,
+ const std::vector<u8>& input2, IoctlVersion version);
u32 GetWaitbase(const std::vector<u8>& input, std::vector<u8>& output);
u32 ChannelSetTimeout(const std::vector<u8>& input, std::vector<u8>& output);