On Mon, 2017-09-04 at 18:16 +0300, Marius Vlad wrote:
> From: Marius Vlad <marius.vl...@gmail.com>
> 
> Signed-off-by: Marius Vlad <marius.vl...@gmail.com>
> Signed-off-by: Marius-Adrian Negreanu <gro...@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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to