drm/i915: properly handle interlaced bit for sdvo dtd conversion
commitda94f65433119e4961748c8dc6f7603a3c53232b
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 12 May 2012 20:22:58 +0000 (12 22:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:32:59 +0000 (10 00:32 +0900)
tree73fa3044b7ebd8a4f3768b754f72aaba66675947
parent0fe9c3d32bc0e7a46d78dca13a6ed3f91ec92f47
drm/i915: properly handle interlaced bit for sdvo dtd conversion

commit 59d92bfa5f0cdf57f82f5181b0ad6af75c3fdf41 upstream.

We've simply ignored this, which isn't too great. With this, interlaced
1080i works on my HDMI screen connected through sdvo. For no apparent
reason anything else still doesn't work as it should.

While at it, give these magic numbers in the dtd proper names and
add a comment that they match with EDID detailed timings.

v2: Actually use the right bit for interlaced.

Tested-by: Peter Ross <pross@xvid.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo_regs.h