Skip to content

Commit

Permalink
IoctlEmulation: Add panthor_drm
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Oct 2, 2024
1 parent 5aff16f commit 0cd6371
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Ioctl/drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ extern "C" {
#include "fex-drm/radeon_drm.h"
#include "fex-drm/vc4_drm.h"
#include "fex-drm/v3d_drm.h"
#include "fex-drm/panthor_drm.h"
#include "fex-drm/pvr_drm.h"
#include "fex-drm/virtgpu_drm.h"
#include "fex-drm/xe_drm.h"
Expand Down Expand Up @@ -1278,6 +1279,7 @@ namespace V3D {
#include "LinuxSyscalls/x32/Ioctl/radeon_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/vc4_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/v3d_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/panthor_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/pvr_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/xe_drm.inl"
} // namespace FEX::HLE::x32
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
_BASIC_META(DRM_IOCTL_PANTHOR_DEV_QUERY)
_BASIC_META(DRM_IOCTL_PANTHOR_VM_CREATE)
_BASIC_META(DRM_IOCTL_PANTHOR_VM_DESTROY)
_BASIC_META(DRM_IOCTL_PANTHOR_VM_BIND)
_BASIC_META(DRM_IOCTL_PANTHOR_VM_GET_STATE)
_BASIC_META(DRM_IOCTL_PANTHOR_BO_CREATE)
_BASIC_META(DRM_IOCTL_PANTHOR_BO_MMAP_OFFSET)
_BASIC_META(DRM_IOCTL_PANTHOR_GROUP_CREATE)
_BASIC_META(DRM_IOCTL_PANTHOR_GROUP_DESTROY)
_BASIC_META(DRM_IOCTL_PANTHOR_GROUP_SUBMIT)
_BASIC_META(DRM_IOCTL_PANTHOR_GROUP_GET_STATE)
_BASIC_META(DRM_IOCTL_PANTHOR_TILER_HEAP_CREATE)
_BASIC_META(DRM_IOCTL_PANTHOR_TILER_HEAP_DESTROY)
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ std::array<HandlerType, 1U << _IOC_TYPEBITS> Handlers = []() consteval {
#include "LinuxSyscalls/x32/Ioctl/vc4_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/v3d_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/virtio_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/panthor_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/pvr_drm.inl"
#include "LinuxSyscalls/x32/Ioctl/xe_drm.inl"

Expand Down

0 comments on commit 0cd6371

Please sign in to comment.