drm/i915: Add PIPE_CONF_CHECK_CLOCK_FUZZY()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Sep 2013 20:29:07 +0000 (23:29 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Sep 2013 21:01:44 +0000 (23:01 +0200)
commit5e550656d98e82b740d3744ef1df783cdc05386e
treec6fff254a096c48e67697b881cd159b78be47e15
parent18442d08786472c63a0a80c27f92b033dffc26de
drm/i915: Add PIPE_CONF_CHECK_CLOCK_FUZZY()

Add a new pipe config check macro PIPE_CONF_CHECK_CLOCK_FUZZY() to make
it trivial and error proof to compare clocks in a fuzzy manner.

v2: Drop extra curly braces

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c