On Fri, Nov 09, 2012 at 09:51:04PM +0530, Rahul Sharma wrote:
This patch set adds provision for composing and sending AVI and AUI infoframes by exynos drm hdmi driver.
It also adds provision to get CEA Video ID Code through the display mode which is required for making AVI infoframe.
Based on exynos-drm-fixes branch of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git
Rahul Sharma (1): drm: exynos: compose and send avi and aui info frames
Stephane Marchesin (1): drm: get cea video id code for a given display mode
Hi Rahul,
I'm currently working on a patchset that tries to unify the infoframe code that is currently duplicated for each driver. The latest code that I have adds support for packing AVI, audio and vendor infoframes, so it should cover all of what you're trying to do here. Furthermore there's a helper that fill in a basic set of fields in the AVI infoframe from a given drm_display_mode, based on code very similar to Stephane's patch from Paulo Zanoni (Cc'ed).
Maybe we can try and make this work for Exynos as well. The code that I have is tested on NVIDIA Tegra and should be easily portable to i915, radeon and nouveau as well. I plan to do that as part of the patchset, so I thought you may be interested in using the generic code as well. The patches still need some cleanup but I think I can send them out either later tonight or tomorrow.
Thierry