diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-11 07:33:40 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-24 07:31:27 -0500 |
commit | a269950405ab17ce3a604ddcd939709a4a7a747c (patch) | |
tree | 612c0cdda13f1703f6b9c5c0c5431b6db1f63ab0 /arch/arm/plat-omap/include/plat/display.h | |
parent | 96adceceedefff9b849d25ff582bc6f516903994 (diff) |
OMAP: DSS2: move get_recommended_bpp()
Move get_recommended_bpp() from omap_dss_device to omap_dss_driver.
This is part of a larger patch-set, which moves the control from omapdss
driver to the display driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/display.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 70a9dd318ef9..aadea59b69bc 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h | |||
@@ -433,8 +433,6 @@ struct omap_dss_device { | |||
433 | int acb; /* ac-bias pin frequency */ | 433 | int acb; /* ac-bias pin frequency */ |
434 | 434 | ||
435 | enum omap_panel_config config; | 435 | enum omap_panel_config config; |
436 | |||
437 | u8 recommended_bpp; | ||
438 | } panel; | 436 | } panel; |
439 | 437 | ||
440 | struct { | 438 | struct { |
@@ -470,8 +468,6 @@ struct omap_dss_device { | |||
470 | int (*suspend)(struct omap_dss_device *dssdev); | 468 | int (*suspend)(struct omap_dss_device *dssdev); |
471 | int (*resume)(struct omap_dss_device *dssdev); | 469 | int (*resume)(struct omap_dss_device *dssdev); |
472 | 470 | ||
473 | int (*get_recommended_bpp)(struct omap_dss_device *dssdev); | ||
474 | |||
475 | int (*check_timings)(struct omap_dss_device *dssdev, | 471 | int (*check_timings)(struct omap_dss_device *dssdev, |
476 | struct omap_video_timings *timings); | 472 | struct omap_video_timings *timings); |
477 | void (*set_timings)(struct omap_dss_device *dssdev, | 473 | void (*set_timings)(struct omap_dss_device *dssdev, |
@@ -530,6 +526,7 @@ struct omap_dss_driver { | |||
530 | 526 | ||
531 | void (*get_resolution)(struct omap_dss_device *dssdev, | 527 | void (*get_resolution)(struct omap_dss_device *dssdev, |
532 | u16 *xres, u16 *yres); | 528 | u16 *xres, u16 *yres); |
529 | int (*get_recommended_bpp)(struct omap_dss_device *dssdev); | ||
533 | }; | 530 | }; |
534 | 531 | ||
535 | int omap_dss_register_driver(struct omap_dss_driver *); | 532 | int omap_dss_register_driver(struct omap_dss_driver *); |
@@ -556,6 +553,8 @@ struct omap_overlay *omap_dss_get_overlay(int num); | |||
556 | 553 | ||
557 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, | 554 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, |
558 | u16 *xres, u16 *yres); | 555 | u16 *xres, u16 *yres); |
556 | int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev); | ||
557 | |||
559 | typedef void (*omap_dispc_isr_t) (void *arg, u32 mask); | 558 | typedef void (*omap_dispc_isr_t) (void *arg, u32 mask); |
560 | int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask); | 559 | int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask); |
561 | int omap_dispc_unregister_isr(omap_dispc_isr_t isr, void *arg, u32 mask); | 560 | int omap_dispc_unregister_isr(omap_dispc_isr_t isr, void *arg, u32 mask); |