diff options
author | Jassi Brar <jaswinder.singh@linaro.org> | 2011-06-22 20:40:13 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-22 20:40:13 +0100 |
commit | 75ed5b7bf50c936a953ba1aff11dc2a42f2c311a (patch) | |
tree | ac3c970c635c9508a68d348564fa2622a45e4ea2 /include | |
parent | c6a9c44935fe7ed980fefd31f1976d32977af5ec (diff) |
Subject: [PATCH 08/19] OMAP: DSS2: adding force argument to is_detected()
Force is available from (*detect) at drm_connector_funcs, and can be used
by the driver to avoid expensive, destructive operations during automated
probing.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/omapdss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 963a6ca3f81..7b43798c298 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -579,7 +579,7 @@ struct omap_dss_driver { * For displays like LCD panels, this means is the display present * on the board. */ - bool (*is_detected)(struct omap_dss_device *dssdev); + bool (*is_detected)(struct omap_dss_device *dssdev, bool force); }; int omap_dss_register_driver(struct omap_dss_driver *); @@ -622,7 +622,7 @@ void omapdss_default_get_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings); int omapdss_default_check_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings); -bool omapdss_default_is_detected(struct omap_dss_device *dssdev); +bool omapdss_default_is_detected(struct omap_dss_device *dssdev, bool force); void omapdss_default_get_resolution(struct omap_dss_device *dssdev, u16 *xres, u16 *yres); int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev); |