drm/i915/hdmi: Port the infoframe code to the common hdmi helpers
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 6 Aug 2013 19:32:19 +0000 (20:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Aug 2013 12:04:48 +0000 (14:04 +0200)
commit5adaea799c1c2c00a1ffe995255af25717029b65
treeb81ebf5d4264dbb858e1f1c81072fd65c70adba6
parent178f736ab96637bc17bcf00c3b58af0137e880e0
drm/i915/hdmi: Port the infoframe code to the common hdmi helpers

Let's use the drivers/video/hmdi.c and drm infoframe helpers to build
our infoframes.

v2: Simplify the logic to compute the buffer size. We can just take the
maximum infoframe size rounded to 32, which happens to be what the
hardware let us write anyway.

v3: Remove unnecessary memset() (Ville Syrjälä)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c