drm/i915: Multiply the refresh by 1000 in TV mode validatiion
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 29 Sep 2009 08:31:49 +0000 (16:31 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 2 Oct 2009 19:12:31 +0000 (12:12 -0700)
commit0d0884cee3099ec1271a5d379c39b66de1e31923
treedae97d59535be5efe22413b5a0579756405d0d58
parent8d23adf7610f2c000c08abe3941c493952d21a61
drm/i915: Multiply the refresh by 1000 in TV mode validatiion

As of 559ee21d261a54c42594ef9405d27e9008eedf44 the actual refresh rate
is returned by the function of drm_mode_vrefresh, so multiply the refresh
rate by 1000 in TV mode validation.

At the same time the error is expanded from 10 to 1000.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_tv.c