aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorJani Nikula <ext-jani.1.nikula@nokia.com>2010-06-16 08:26:36 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 07:19:24 -0400
commit7a0987bf2cf2683901d0cd7f1504023da2584c5f (patch)
treefe5db5f868acb5c17578759c9d71c0cdf3b08aa1 /include/video
parentb4de838e9ff17695c462e6532a347746c446d10a (diff)
OMAP: DSS2: Add method for querying display dimensions from DSS drivers
Add get_dimensions() to struct omap_dss_driver. Use the call, if supported by the driver, in OMAPFB. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 53ca97c9793c..f0789292c7c2 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -505,6 +505,8 @@ struct omap_dss_driver {
505 505
506 void (*get_resolution)(struct omap_dss_device *dssdev, 506 void (*get_resolution)(struct omap_dss_device *dssdev,
507 u16 *xres, u16 *yres); 507 u16 *xres, u16 *yres);
508 void (*get_dimensions)(struct omap_dss_device *dssdev,
509 u32 *width, u32 *height);
508 int (*get_recommended_bpp)(struct omap_dss_device *dssdev); 510 int (*get_recommended_bpp)(struct omap_dss_device *dssdev);
509 511
510 int (*check_timings)(struct omap_dss_device *dssdev, 512 int (*check_timings)(struct omap_dss_device *dssdev,