drm/fb: Fix video= mode computation
authorAdam Jackson <ajax@redhat.com>
Thu, 10 Jun 2010 17:33:26 +0000 (13:33 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Jul 2010 01:59:16 +0000 (11:59 +1000)
commitb829e011f6f9eed8c4dd41eaf02bdbb3a3ad837f
tree08040a57450e31d97452ffad9c0f18d389f0ed2d
parenta5f798ce2b9de4b14c46cb68d58c488dc1b8e215
drm/fb: Fix video= mode computation

Reduced blanking is valid only when doing CVT modes.  Also, generate GTF
modes unless CVT was requested; CVT devices are required to support GTF,
but the reverse is not true.

[airlied: fix typo]

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c