From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Marius Vlad <marius-cristian.vlad@nxp.com>,
dri-devel@lists.freedesktop.org, Intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/4] drm/i915: Convert i915 to use ioctl_register/ioctl_deregister.
Date: Fri, 29 Sep 2017 14:29:39 +0300 [thread overview]
Message-ID: <1506684579.4729.54.camel@linux.intel.com> (raw)
In-Reply-To: <20170904151645.4490-3-marius-cristian.vlad@nxp.com>
On Mon, 2017-09-04 at 18:16 +0300, Marius Vlad wrote:
> From: Marius Vlad <marius.vlad0@gmail.com>
>
> Signed-off-by: Marius Vlad <marius.vlad0@gmail.com>
> Signed-off-by: Marius-Adrian Negreanu <groleo@gmail.com>
<SNIP>
> @@ -1183,6 +1183,71 @@ static void i915_driver_cleanup_hw(struct drm_i915_private *dev_priv)
> i915_ggtt_cleanup_hw(dev_priv);
> }
>
> +static int
> +i915_gem_reject_pin_ioctl(struct drm_device *dev, void *data,
> + struct drm_file *file)
> +{
> + return -ENODEV;
> +}
> +
> +static struct drm_ioctl_desc i915_ioctls[] = {
This becomes non-const, with no obvious benefit?
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-09-29 11:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 15:16 [PATCH 0/4] RFC: drm: Allow driver-specific ioctls to be registered Marius Vlad
2017-09-04 15:16 ` [PATCH 1/4] drm/: Support registering driver-specific ioctls dynamically Marius Vlad
2017-09-06 9:18 ` kbuild test robot
2017-09-04 15:16 ` [PATCH 2/4] drm/i915: Convert i915 to use ioctl_register/ioctl_deregister Marius Vlad
2017-09-29 11:29 ` Joonas Lahtinen [this message]
2017-09-04 15:16 ` [PATCH 3/4] drm/i915: Register perf_ ioctls directly in i915_perf file Marius Vlad
2017-09-04 15:16 ` [PATCH 4/4] drm/i915: Register GEM ioctls directly in i915_gem file Marius Vlad
2017-09-04 15:25 ` [PATCH 0/4] RFC: drm: Allow driver-specific ioctls to be registered Daniel Vetter
2017-09-04 16:06 ` marius vlad
2017-09-05 6:20 ` Daniel Vetter
2017-09-04 15:26 ` Chris Wilson
2017-09-04 16:16 ` marius vlad
2017-09-27 13:32 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-09-27 18:15 ` ✗ Fi.CI.IGT: warning " Patchwork
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=1506684579.4729.54.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=marius-cristian.vlad@nxp.com \
/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