qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Xiongchuan Tan <tanxiongchuan@isrc.iscas.ac.cn>
To: Laurent Vivier <laurent@vivier.eu>
Cc: qemu-devel@nongnu.org, Xiongchuan Tan <tanxiongchuan@isrc.iscas.ac.cn>
Subject: [PATCH 0/1] linux-user: Add drm ioctls for userland graphics drivers
Date: Thu, 28 Sep 2023 01:52:58 +0800	[thread overview]
Message-ID: <20230927175408.495872-1-tanxiongchuan@isrc.iscas.ac.cn> (raw)

This patch adds more Direct Rendering Manager ioctls to support
userland OpenGL and Vulkan drivers, in addition to existing
DRM_IOCTL_VERSION.

More device-specific ioctls are needed though, but they share the same
range from 0x40 to 0x9f. Adding these would break the current
DRM_IOCTL_I915_GETPARAM. I'm unsure about whether a generic
implementation is possible.

Xiongchuan Tan (1):
  linux-user: Add drm ioctls for graphics drivers

 linux-user/ioctls.h        | 26 +++++++++++++++
 linux-user/syscall_defs.h  | 15 ++++++++-
 linux-user/syscall_types.h | 68 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+), 1 deletion(-)

-- 
2.42.0



             reply	other threads:[~2023-09-27 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 17:52 Xiongchuan Tan [this message]
2023-09-27 17:52 ` [PATCH 1/1] linux-user: Add drm ioctls for graphics drivers Xiongchuan Tan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230927175408.495872-1-tanxiongchuan@isrc.iscas.ac.cn \
    --to=tanxiongchuan@isrc.iscas.ac.cn \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).