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

2017-04-18 Thread Laurent Pinchart
Hi Daniel, On Tuesday 18 Apr 2017 08:20:29 Daniel Vetter wrote: > On Sat, Apr 15, 2017 at 11:16 AM, Laurent Pinchart 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, > > D

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

2017-04-17 Thread Daniel Vetter
On Sat, Apr 15, 2017 at 11:16 AM, Laurent Pinchart 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_FI

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

2017-04-15 Thread Laurent Pinchart
The omapdrm driver uses a custom API to synchronize with the SGX GPU. This is unusable as such in the mainline kernel as the API is only partially implemented and requires additional out-of-tree patches. Furthermore, as no SGX driver is available in the mainline kernel, the API can't be considered