IoctlEmulation: Add missing nouveau ioctl

The NVIF ioctl isn't publicly described in the nouveau headers and it is
required for anything to work with Nouveau.

Pass the ioctl command through without modification and hope that this
ioctl is architecture agnostic.
This commit is contained in:
Ryan Houdek 2024-03-05 16:05:13 -08:00
parent ee56a2cbde
commit aeb41e9ae2
No known key found for this signature in database

View File

@ -360,6 +360,8 @@ namespace FEX::HLE::x32 {
#define _CUSTOM_META_OFFSET(name, ioctl_num, offset)
// DRM
#include "LinuxSyscalls/x32/Ioctl/nouveau_drm.inl"
// Let's hope NVIF is arch agnostic.
case DRM_COMMAND_BASE + DRM_NOUVEAU_NVIF:
{
uint64_t Result = ::ioctl(fd, cmd, args);
SYSCALL_ERRNO();