[PATCH v2 3/5] drm: omapdrm: Remove legacy buffer synchronization support

Daniel Vetter daniel at ffwll.ch
Tue Apr 18 06:20:29 UTC 2017


On Sat, Apr 15, 2017 at 11:16 AM, Laurent Pinchart
<laurent.pinchart at ideasonboard.com> wrote:
> -       DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_PREP, ioctl_gem_cpu_prep,
> +       DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_PREP, ioctl_gem_cpu_prep_fini,
>                           DRM_AUTH | DRM_RENDER_ALLOW),
> -       DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_FINI, ioctl_gem_cpu_fini,
> +       DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_FINI, ioctl_gem_cpu_prep_fini,
>                           DRM_AUTH | DRM_RENDER_ALLOW),


drm_noop and drm_invalid_op give you 2 default options for this, for
even less code.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list