aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/drm/omap_drm.h
diff options
context:
space:
mode:
authorGravatar Laurent Pinchart <laurent.pinchart@ideasonboard.com> 2017-05-09 01:27:11 +0300
committerGravatar Tomi Valkeinen <tomi.valkeinen@ti.com> 2017-06-02 10:53:43 +0300
commitd6f544f6bf419a5bc65f7f2d070db008d1119097 (patch)
tree634d4fea720707b99c5cb71153f7ac967db2f0e4 /include/uapi/drm/omap_drm.h
parentdrm: omapdrm: Use DRM core's atomic commit helper (diff)
downloadlinux-d6f544f6bf419a5bc65f7f2d070db008d1119097.tar.gz
linux-d6f544f6bf419a5bc65f7f2d070db008d1119097.tar.bz2
linux-d6f544f6bf419a5bc65f7f2d070db008d1119097.zip
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>
Diffstat (limited to 'include/uapi/drm/omap_drm.h')
-rw-r--r--include/uapi/drm/omap_drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h
index 7fb97863c945..fd5e3ea53f2b 100644
--- a/include/uapi/drm/omap_drm.h
+++ b/include/uapi/drm/omap_drm.h
@@ -106,8 +106,8 @@ struct drm_omap_gem_info {
#define DRM_OMAP_GET_PARAM 0x00
#define DRM_OMAP_SET_PARAM 0x01
#define DRM_OMAP_GEM_NEW 0x03
-#define DRM_OMAP_GEM_CPU_PREP 0x04
-#define DRM_OMAP_GEM_CPU_FINI 0x05
+#define DRM_OMAP_GEM_CPU_PREP 0x04 /* Deprecated, to be removed */
+#define DRM_OMAP_GEM_CPU_FINI 0x05 /* Deprecated, to be removed */
#define DRM_OMAP_GEM_INFO 0x06
#define DRM_OMAP_NUM_IOCTLS 0x07