drm/i915: properly handle interlaced bit for sdvo dtd conversion
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 12 May 2012 20:22:58 +0000 (22:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 May 2012 15:53:52 +0000 (17:53 +0200)
commit59d92bfa5f0cdf57f82f5181b0ad6af75c3fdf41
tree26a3d15ec188af544f8b0b04dc3c3ee1a4deb72d
parent6bd459df96ffc2488e7816c78e78bcc706c58276
drm/i915: properly handle interlaced bit for sdvo dtd conversion

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>
Cc: stable@vger.kernel.org
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo_regs.h