public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
To: strace-devel@lists.sourceforge.net
Cc: intel-gfx@lists.freedesktop.org, ldv@altlinux.org
Subject: Re: [PATCH v2 0/5] drm: Add decoding for DRM/KMS and i915 ioctls
Date: Mon, 29 Jun 2015 12:47:20 +0200	[thread overview]
Message-ID: <20150629104720.GA12466@patrik-dev-mach> (raw)
In-Reply-To: <1434616965-5157-1-git-send-email-patrik.jakobsson@linux.intel.com>

On Thu, Jun 18, 2015 at 10:42:40AM +0200, Patrik Jakobsson wrote:
> This set of patches adds a dispatcher for handling DRM ioctls. The
> kernel headers for DRM might not be available on all distributions
> so we depend on libdrm for those. If libdrm is not available we fall
> back on the kernel headers. Since DRM drivers share the same range of
> private ioctl numbers I've added a function for detecting the driver
> based on it's name.

Anyone had a chance to look at this yet?

Thanks
Patrik

> 
> Changes in v2:
> * Rebased to master
> * Added Changelog to commits
> * Keep strace_SOURCES list sorted
> * Removed unneeded includes
> * Reduced number of driver name checks by adding tcb private data
> * Use tprints() for regular strings
> * Reworked entering() / exiting() handling for all ioctls
> * Use printstr() to print strings in properly quoted form
> 
> Patrik Jakobsson (5):
>   drm: Add config for detecting libdrm
>   drm: Add private data field to trace control block
>   drm: Add dispatcher and driver identification for DRM
>   drm: Add decoding of i915 ioctls
>   drm: Add decoding of DRM and KMS ioctls
> 
>  Makefile.am                |   2 +
>  configure.ac               |   4 +
>  defs.h                     |  11 +-
>  drm.c                      | 632 +++++++++++++++++++++++++++++++++++++++++++++
>  drm_i915.c                 | 332 ++++++++++++++++++++++++
>  io.c                       |   2 +-
>  ioctl.c                    |   6 +-
>  xlat/drm_i915_getparams.in |  28 ++
>  xlat/drm_i915_ioctls.in    |  51 ++++
>  xlat/drm_i915_setparams.in |   4 +
>  10 files changed, 1069 insertions(+), 3 deletions(-)
>  create mode 100644 drm.c
>  create mode 100644 drm_i915.c
>  create mode 100644 xlat/drm_i915_getparams.in
>  create mode 100644 xlat/drm_i915_ioctls.in
>  create mode 100644 xlat/drm_i915_setparams.in
> 
> -- 
> 2.1.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2015-06-29 10:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  8:42 [PATCH v2 0/5] drm: Add decoding for DRM/KMS and i915 ioctls Patrik Jakobsson
2015-06-18  8:42 ` [PATCH v2 1/5] drm: Add config for detecting libdrm Patrik Jakobsson
2015-06-18  8:42 ` [PATCH v2 2/5] drm: Add private data field to trace control block Patrik Jakobsson
2015-06-18  8:42 ` [PATCH v2 3/5] drm: Add dispatcher and driver identification for DRM Patrik Jakobsson
     [not found] ` <1434616965-5157-1-git-send-email-patrik.jakobsson-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-06-18  8:42   ` [PATCH v2 4/5] drm: Add decoding of i915 ioctls Patrik Jakobsson
2015-06-29 17:46     ` Gabriel Laskar
2015-06-30  7:52       ` Patrik Jakobsson
2015-06-18  8:42 ` [PATCH v2 5/5] drm: Add decoding of DRM and KMS ioctls Patrik Jakobsson
2015-06-29 17:35   ` Gabriel Laskar
     [not found]     ` <20150629193500.6cbc3a35-krIL5v34lyW+8jMViQwUxmazZaUMDOZU@public.gmane.org>
2015-06-30  7:47       ` Patrik Jakobsson
2015-06-30  8:51   ` Patrik Jakobsson
2015-06-29 10:47 ` Patrik Jakobsson [this message]
2015-06-29 17:48   ` [PATCH v2 0/5] drm: Add decoding for DRM/KMS and i915 ioctls Gabriel Laskar

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=20150629104720.GA12466@patrik-dev-mach \
    --to=patrik.jakobsson@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ldv@altlinux.org \
    --cc=strace-devel@lists.sourceforge.net \
    /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