diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-01 12:13:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-01 12:13:05 -0400 |
commit | 965e32b18d6b6bbcb79f4a7308fc8bdb4d03e813 (patch) | |
tree | 5d558d0b194f51fb27976a5df2a03b73fb41bb4d /include | |
parent | e10b87d2b5b4574cdf3a5a19b22ca88b91ba7151 (diff) | |
parent | df5d3ed23cf73ee0763a8963003bda9b69d9620f (diff) |
Merge branch 'for-3.1-rc1' of git://gitorious.org/linux-omap-dss2/linux
* 'for-3.1-rc1' of git://gitorious.org/linux-omap-dss2/linux: (31 commits)
OMAP: DSS2: HDMI: fix hdmi clock name
HACK: OMAP: DSS2: clk hack for OMAP2/3
OMAP: DSS2: DSS: Fix context save/restore
OMAP: DSS2: DISPC: Fix context save/restore
OMAP: DSS2: Remove ctx loss count from dss.c
OMAP: DSS2: Remove unused code from display.c
OMAP: DSS2: DISPC: remove finegrained clk enables/disables
OMAP: DSS2: Remove unused opt_clock_available
OMAP: DSS2: Use PM runtime & HWMOD support
OMAP: DSS2: Remove CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET
OMAP: DSS2: Remove core_dump_clocks
OMAP: DSS2: DPI: remove unneeded SYSCK enable/disable
OMAP: DSS2: Use omap_pm_get_dev_context_loss_count to get ctx loss count
OMAP: DSS2: rewrite use of context_loss_count
OMAP: DSS2: Remove clk optimization at dss init
OMAP: DSS2: Fix init and unit sequence
OMAP: DSS2: Clean up probe for DSS & DSI
OMAP: DSS2: Handle dpll4_m4_ck in dss_get/put_clocks
OMAP: DSS2: Fix FIFO threshold and burst size for OMAP4
OMAP: DSS2: DSI: sync when disabling a display
...
Diffstat (limited to 'include')
-rw-r--r-- | include/video/omapdss.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 892b97f8e157..3b55ef22f8db 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -21,8 +21,6 @@ | |||
21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
22 | #include <linux/kobject.h> | 22 | #include <linux/kobject.h> |
23 | #include <linux/device.h> | 23 | #include <linux/device.h> |
24 | #include <linux/platform_device.h> | ||
25 | #include <asm/atomic.h> | ||
26 | 24 | ||
27 | #define DISPC_IRQ_FRAMEDONE (1 << 0) | 25 | #define DISPC_IRQ_FRAMEDONE (1 << 0) |
28 | #define DISPC_IRQ_VSYNC (1 << 1) | 26 | #define DISPC_IRQ_VSYNC (1 << 1) |
@@ -136,12 +134,6 @@ enum omap_display_caps { | |||
136 | OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1, | 134 | OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1, |
137 | }; | 135 | }; |
138 | 136 | ||
139 | enum omap_dss_update_mode { | ||
140 | OMAP_DSS_UPDATE_DISABLED = 0, | ||
141 | OMAP_DSS_UPDATE_AUTO, | ||
142 | OMAP_DSS_UPDATE_MANUAL, | ||
143 | }; | ||
144 | |||
145 | enum omap_dss_display_state { | 137 | enum omap_dss_display_state { |
146 | OMAP_DSS_DISPLAY_DISABLED = 0, | 138 | OMAP_DSS_DISPLAY_DISABLED = 0, |
147 | OMAP_DSS_DISPLAY_ACTIVE, | 139 | OMAP_DSS_DISPLAY_ACTIVE, |
@@ -246,7 +238,7 @@ int dsi_vc_send_bta_sync(struct omap_dss_device *dssdev, int channel); | |||
246 | 238 | ||
247 | /* Board specific data */ | 239 | /* Board specific data */ |
248 | struct omap_dss_board_info { | 240 | struct omap_dss_board_info { |
249 | int (*get_last_off_on_transaction_id)(struct device *dev); | 241 | int (*get_context_loss_count)(struct device *dev); |
250 | int num_devices; | 242 | int num_devices; |
251 | struct omap_dss_device **devices; | 243 | struct omap_dss_device **devices; |
252 | struct omap_dss_device *default_device; | 244 | struct omap_dss_device *default_device; |
@@ -266,8 +258,6 @@ static inline int omap_display_init(struct omap_dss_board_info *board_data) | |||
266 | struct omap_display_platform_data { | 258 | struct omap_display_platform_data { |
267 | struct omap_dss_board_info *board_data; | 259 | struct omap_dss_board_info *board_data; |
268 | /* TODO: Additional members to be added when PM is considered */ | 260 | /* TODO: Additional members to be added when PM is considered */ |
269 | |||
270 | bool (*opt_clock_available)(const char *clk_role); | ||
271 | }; | 261 | }; |
272 | 262 | ||
273 | struct omap_video_timings { | 263 | struct omap_video_timings { |
@@ -300,6 +290,12 @@ extern const struct omap_video_timings omap_dss_pal_timings; | |||
300 | extern const struct omap_video_timings omap_dss_ntsc_timings; | 290 | extern const struct omap_video_timings omap_dss_ntsc_timings; |
301 | #endif | 291 | #endif |
302 | 292 | ||
293 | struct omap_dss_cpr_coefs { | ||
294 | s16 rr, rg, rb; | ||
295 | s16 gr, gg, gb; | ||
296 | s16 br, bg, bb; | ||
297 | }; | ||
298 | |||
303 | struct omap_overlay_info { | 299 | struct omap_overlay_info { |
304 | bool enabled; | 300 | bool enabled; |
305 | 301 | ||
@@ -359,6 +355,9 @@ struct omap_overlay_manager_info { | |||
359 | bool trans_enabled; | 355 | bool trans_enabled; |
360 | 356 | ||
361 | bool alpha_enabled; | 357 | bool alpha_enabled; |
358 | |||
359 | bool cpr_enable; | ||
360 | struct omap_dss_cpr_coefs cpr_coefs; | ||
362 | }; | 361 | }; |
363 | 362 | ||
364 | struct omap_overlay_manager { | 363 | struct omap_overlay_manager { |
@@ -526,11 +525,6 @@ struct omap_dss_driver { | |||
526 | int (*resume)(struct omap_dss_device *display); | 525 | int (*resume)(struct omap_dss_device *display); |
527 | int (*run_test)(struct omap_dss_device *display, int test); | 526 | int (*run_test)(struct omap_dss_device *display, int test); |
528 | 527 | ||
529 | int (*set_update_mode)(struct omap_dss_device *dssdev, | ||
530 | enum omap_dss_update_mode); | ||
531 | enum omap_dss_update_mode (*get_update_mode)( | ||
532 | struct omap_dss_device *dssdev); | ||
533 | |||
534 | int (*update)(struct omap_dss_device *dssdev, | 528 | int (*update)(struct omap_dss_device *dssdev, |
535 | u16 x, u16 y, u16 w, u16 h); | 529 | u16 x, u16 y, u16 w, u16 h); |
536 | int (*sync)(struct omap_dss_device *dssdev); | 530 | int (*sync)(struct omap_dss_device *dssdev); |