drm/i915: fix ILK+ infoframe support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 22 Sep 2011 05:46:00 +0000 (11:16 +0530)
committerKeith Packard <keithp@keithp.com>
Fri, 21 Oct 2011 06:22:02 +0000 (23:22 -0700)
commit64a8fc0145a1d0fdc25fc9367c2e6c621955fb3b
tree4493ede40ed91d9e2835078f4d6397f65adcce68
parenta60f0e38d72a5e24085d6e7e27a4cadc20ae268a
drm/i915: fix ILK+ infoframe support

Misc fixes based on tests with an infoframe analyzer:
  - checksum *does* include header bytes
  - DIP enable & AVI infoframe are tied together in hw, so disable both
    and make sure AVI frames are enabled first
  - use every vsync flag for SPD frames to avoid reserved value in
    frequency field when enabling both AVI & SPD

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40281.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: stable@kernel.org
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_hdmi.c