From 7a0987bf2cf2683901d0cd7f1504023da2584c5f Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 16 Jun 2010 15:26:36 +0300 Subject: 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 Signed-off-by: Tomi Valkeinen --- include/video/omapdss.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 { void (*get_resolution)(struct omap_dss_device *dssdev, u16 *xres, u16 *yres); + void (*get_dimensions)(struct omap_dss_device *dssdev, + u32 *width, u32 *height); int (*get_recommended_bpp)(struct omap_dss_device *dssdev); int (*check_timings)(struct omap_dss_device *dssdev, -- cgit v1.2.3-55-g7522