diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-15 04:22:21 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 09:16:20 -0400 |
commit | 4a9e78abb76a2f1ddccab7098bdf73a2f095aaa6 (patch) | |
tree | af36135071f38d009c639d411cedb9a7f8bc60f1 /include/video/omapdss.h | |
parent | 46fc133f95602daac0402ffaf4612b20f4cefd4a (diff) |
OMAP: DSS2: Remove support for non-DISPC overlays
Remove support for non-DISPC overlays and overlay managers.
The support to possibly have non-DISPC overlays and managers was made to
make it possible to use CPU and/or sDMA to update RFBI or DSI command
mode displays. It is ok to remove the support, because:
- No one has used the feature.
- Display update without DISPC is very slow, so it is debatable if the
update would even be usable.
- Removal cleans up code.
- If such a feature is needed later, it is better implemented outside
omapdss driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r-- | include/video/omapdss.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index ecde53f71bd2..cb1ff1a6b5ee 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -162,11 +162,10 @@ enum omap_dss_rotation_angle { | |||
162 | 162 | ||
163 | enum omap_overlay_caps { | 163 | enum omap_overlay_caps { |
164 | OMAP_DSS_OVL_CAP_SCALE = 1 << 0, | 164 | OMAP_DSS_OVL_CAP_SCALE = 1 << 0, |
165 | OMAP_DSS_OVL_CAP_DISPC = 1 << 1, | ||
166 | }; | 165 | }; |
167 | 166 | ||
168 | enum omap_overlay_manager_caps { | 167 | enum omap_overlay_manager_caps { |
169 | OMAP_DSS_OVL_MGR_CAP_DISPC = 1 << 0, | 168 | OMAP_DSS_DUMMY_VALUE, /* add a dummy value to prevent compiler error */ |
170 | }; | 169 | }; |
171 | 170 | ||
172 | enum omap_dss_clk_source { | 171 | enum omap_dss_clk_source { |
@@ -325,7 +324,7 @@ struct omap_overlay { | |||
325 | 324 | ||
326 | /* static fields */ | 325 | /* static fields */ |
327 | const char *name; | 326 | const char *name; |
328 | int id; | 327 | enum omap_plane id; |
329 | enum omap_color_mode supported_modes; | 328 | enum omap_color_mode supported_modes; |
330 | enum omap_overlay_caps caps; | 329 | enum omap_overlay_caps caps; |
331 | 330 | ||
@@ -368,7 +367,7 @@ struct omap_overlay_manager { | |||
368 | 367 | ||
369 | /* static fields */ | 368 | /* static fields */ |
370 | const char *name; | 369 | const char *name; |
371 | int id; | 370 | enum omap_channel id; |
372 | enum omap_overlay_manager_caps caps; | 371 | enum omap_overlay_manager_caps caps; |
373 | int num_overlays; | 372 | int num_overlays; |
374 | struct omap_overlay **overlays; | 373 | struct omap_overlay **overlays; |