drm: omapdrm: Remove legacy buffer synchronization support
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 as a stable mainline API. Now that the driver supports synchronization through fences, remove legacy buffer synchronization support. The two userspace ioctls are turned into no-ops to avoid breaking userspace and will be removed in the future. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
a9e6f9f7d6
commit
d6f544f6bf
@@ -184,11 +184,6 @@ int omap_gem_mmap(struct file *filp, struct vm_area_struct *vma);
|
||||
int omap_gem_mmap_obj(struct drm_gem_object *obj,
|
||||
struct vm_area_struct *vma);
|
||||
int omap_gem_fault(struct vm_fault *vmf);
|
||||
int omap_gem_op_start(struct drm_gem_object *obj, enum omap_gem_op op);
|
||||
int omap_gem_op_finish(struct drm_gem_object *obj, enum omap_gem_op op);
|
||||
int omap_gem_op_sync(struct drm_gem_object *obj, enum omap_gem_op op);
|
||||
int omap_gem_op_async(struct drm_gem_object *obj, enum omap_gem_op op,
|
||||
void (*fxn)(void *arg), void *arg);
|
||||
int omap_gem_roll(struct drm_gem_object *obj, uint32_t roll);
|
||||
void omap_gem_cpu_sync(struct drm_gem_object *obj, int pgoff);
|
||||
void omap_gem_dma_sync(struct drm_gem_object *obj,
|
||||
|
Reference in New Issue
Block a user