]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5456c873f6b0ac128724d42ab9e4339961deb568
treeb81ebf5d4264dbb858e1f1c81072fd65c70adba6
parent812eadd3f6f870a724b33bb87c618a455ea14721
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