drm/i915: Fix TV get_modes to return modes count
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Wed, 4 Mar 2009 11:36:01 +0000 (19:36 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 22:12:13 +0000 (15:12 -0700)
The get_modes hook must return the number of modes added.  This also fixes
TV mode's clock calculation int overflow issue, and use 0.01 precision for
mode refresh validation.

Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found