aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 9aa3bd724f..a6abc7e70b 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -1177,6 +1177,9 @@ struct target_rtc_pll_info {
/* drm ioctls */
#define TARGET_DRM_IOCTL_VERSION TARGET_IOWRU('d', 0x00)
+/* drm i915 ioctls */
+#define TARGET_DRM_IOCTL_I915_GETPARAM TARGET_IOWRU('d', 0x46)
+
/* from asm/termbits.h */
#define TARGET_NCC 8
@@ -2620,6 +2623,11 @@ struct target_drm_version {
abi_ulong desc;
};
+struct target_drm_i915_getparam {
+ int param;
+ abi_ulong value;
+};
+
#include "socket.h"
#include "errno_defs.h"