diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-04-24 19:07:16 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-26 10:25:09 +1000 |
commit | 8cc3f23caf4066880f54f636beb3e30b4d383eca (patch) | |
tree | 2c66a755d1f2c17d6c774aec84b277f632fc82a8 /include/drm | |
parent | 67af116e4ac0ebbb3d7849a1d3e2344e289dd76d (diff) | |
download | linux-3.10-8cc3f23caf4066880f54f636beb3e30b4d383eca.tar.gz linux-3.10-8cc3f23caf4066880f54f636beb3e30b4d383eca.tar.bz2 linux-3.10-8cc3f23caf4066880f54f636beb3e30b4d383eca.zip |
drm: Add drm_mode_equal_no_clocks()
drm_mode_equal_no_clocks() is like drm_mode_equal() except it doesn't
compare the clock or vrefresh values. drm_mode_equal() is now
implemented by first doing the clock checks, and then calling
drm_mode_equal_no_clocks().
v2: Add missing EXPORT_SYMBOL()
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index b85575bb82e..836438dfb33 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -922,6 +922,7 @@ extern void drm_mode_config_reset(struct drm_device *dev); extern void drm_mode_config_cleanup(struct drm_device *dev); extern void drm_mode_set_name(struct drm_display_mode *mode); extern bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2); +extern bool drm_mode_equal_no_clocks(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2); extern int drm_mode_width(const struct drm_display_mode *mode); extern int drm_mode_height(const struct drm_display_mode *mode); |