summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-26 06:48:57 +0100
committerGitHub <noreply@github.com>2020-11-26 06:48:57 +0100
commitebcee03b0c4e02a58eeee6152950e20ab2769283 (patch)
treea65975463e513253e4340b5b54807bfd15fe0b96 /src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
parentMerge pull request #5003 from jbeich/clang (diff)
parentnvservices: Reintroducee IoctlCtrl (diff)
downloadyuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.gz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.bz2
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.lz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.xz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.zst
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
index af8b3d9f1..b0c2caba5 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
@@ -23,7 +23,8 @@ nvhost_gpu::nvhost_gpu(Core::System& system, std::shared_ptr<nvmap> nvmap_dev,
nvhost_gpu::~nvhost_gpu() = default;
-NvResult nvhost_gpu::Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
+NvResult nvhost_gpu::Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) {
switch (command.group) {
case 0x0:
switch (command.cmd) {
@@ -75,7 +76,8 @@ NvResult nvhost_gpu::Ioctl1(Ioctl command, const std::vector<u8>& input, std::ve
};
NvResult nvhost_gpu::Ioctl2(Ioctl command, const std::vector<u8>& input,
- const std::vector<u8>& inline_input, std::vector<u8>& output) {
+ const std::vector<u8>& inline_input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) {
switch (command.group) {
case 'H':
switch (command.cmd) {
@@ -89,7 +91,7 @@ NvResult nvhost_gpu::Ioctl2(Ioctl command, const std::vector<u8>& input,
}
NvResult nvhost_gpu::Ioctl3(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
- std::vector<u8>& inline_output) {
+ std::vector<u8>& inline_output, IoctlCtrl& ctrl) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;
}