drm: add drm_mode_cea_vic
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 23 Nov 2012 14:09:26 +0000 (12:09 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Nov 2012 10:42:37 +0000 (11:42 +0100)
commit374a868a726eb8a1cb28ba88805e51ce34222f8d
treec6d63768af759869d9b196571d5a5c74640ccd2e
parent2ff4aeac39dbdcac934694413767f09a27965e11
drm: add drm_mode_cea_vic

This function returns the VIC of the mode. This value can be used when
creating AVI InfoFrames.

Cc: Thierry Reding <thierry.reding@avionic-design.de>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50371
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h