diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2011-05-05 02:03:28 -0300 |
---|---|---|
committer | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2011-05-16 22:52:11 -0300 |
commit | 3e4bac2ebb2c84a4c819a024dd9a3ad175ecde32 (patch) | |
tree | 0a9b5f72da6936d8b9b93ee248539627bafffb23 /arch/arm | |
parent | 1dfd6553195352c741a50a0a0b3b5d343547c758 (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 9f30ab8d1e1..4bb60ed18ef 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h @@ -530,7 +530,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 *); @@ -576,7 +576,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); |