diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-08-28 04:23:03 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-31 04:25:47 -0500 |
commit | b75e1513fcdbc6e8988a57bc0d9fc21f8c4d7b2c (patch) | |
tree | fd4c1ff42ab6545bd9b1b538d07af7a538b619fe | |
parent | 0d6fa53fd80582cc0090fc1497545ab3e502bb5e (diff) |
drm/omap: remove unused plugin defines
Remove unused defines related to SGX plugin which are not used.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.h | 6 | ||||
-rw-r--r-- | include/uapi/drm/omap_drm.h | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.h b/drivers/gpu/drm/omapdrm/omap_drv.h index 718f032aa052..9e0030731c37 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.h +++ b/drivers/gpu/drm/omapdrm/omap_drv.h | |||
@@ -38,12 +38,6 @@ | |||
38 | 38 | ||
39 | struct omap_drm_usergart; | 39 | struct omap_drm_usergart; |
40 | 40 | ||
41 | /* max # of mapper-id's that can be assigned.. todo, come up with a better | ||
42 | * (but still inexpensive) way to store/access per-buffer mapper private | ||
43 | * data.. | ||
44 | */ | ||
45 | #define MAX_MAPPERS 2 | ||
46 | |||
47 | /* parameters which describe (unrotated) coordinates of scanout within a fb: */ | 41 | /* parameters which describe (unrotated) coordinates of scanout within a fb: */ |
48 | struct omap_drm_window { | 42 | struct omap_drm_window { |
49 | uint32_t rotation; | 43 | uint32_t rotation; |
diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h index 0750c01bb480..38a3bd847e15 100644 --- a/include/uapi/drm/omap_drm.h +++ b/include/uapi/drm/omap_drm.h | |||
@@ -101,9 +101,6 @@ struct drm_omap_gem_info { | |||
101 | 101 | ||
102 | #define DRM_OMAP_GET_PARAM 0x00 | 102 | #define DRM_OMAP_GET_PARAM 0x00 |
103 | #define DRM_OMAP_SET_PARAM 0x01 | 103 | #define DRM_OMAP_SET_PARAM 0x01 |
104 | /* placeholder for plugin-api | ||
105 | #define DRM_OMAP_GET_BASE 0x02 | ||
106 | */ | ||
107 | #define DRM_OMAP_GEM_NEW 0x03 | 104 | #define DRM_OMAP_GEM_NEW 0x03 |
108 | #define DRM_OMAP_GEM_CPU_PREP 0x04 | 105 | #define DRM_OMAP_GEM_CPU_PREP 0x04 |
109 | #define DRM_OMAP_GEM_CPU_FINI 0x05 | 106 | #define DRM_OMAP_GEM_CPU_FINI 0x05 |
@@ -112,9 +109,6 @@ struct drm_omap_gem_info { | |||
112 | 109 | ||
113 | #define DRM_IOCTL_OMAP_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_PARAM, struct drm_omap_param) | 110 | #define DRM_IOCTL_OMAP_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_PARAM, struct drm_omap_param) |
114 | #define DRM_IOCTL_OMAP_SET_PARAM DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_SET_PARAM, struct drm_omap_param) | 111 | #define DRM_IOCTL_OMAP_SET_PARAM DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_SET_PARAM, struct drm_omap_param) |
115 | /* placeholder for plugin-api | ||
116 | #define DRM_IOCTL_OMAP_GET_BASE DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_BASE, struct drm_omap_get_base) | ||
117 | */ | ||
118 | #define DRM_IOCTL_OMAP_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_NEW, struct drm_omap_gem_new) | 112 | #define DRM_IOCTL_OMAP_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_NEW, struct drm_omap_gem_new) |
119 | #define DRM_IOCTL_OMAP_GEM_CPU_PREP DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_PREP, struct drm_omap_gem_cpu_prep) | 113 | #define DRM_IOCTL_OMAP_GEM_CPU_PREP DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_PREP, struct drm_omap_gem_cpu_prep) |
120 | #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini) | 114 | #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini) |