]> 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)
commit64e4be62e8f29389dd6252d1cad583cd540ef482
treeb81ebf5d4264dbb858e1f1c81072fd65c70adba6
parent8b2d9faa390ef78deb90165a88803fe98a2a4f51
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