drm: get cea video id code for a given display mode
authorStephane Marchesin <marcheu@chromium.org>
Fri, 9 Nov 2012 16:21:05 +0000 (16:21 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 05:36:56 +0000 (15:36 +1000)
This patch adds support for getting CEA Video ID Code for a given
display mode after matching with edid_cea_modes list. Its index in
the list added with one, gives the desired code.

This exported function will be used by hdmi drivers for composing
AVI info frame data.

Signed-off-by: Stephane Marchesin <marcheu@chromium.org>
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found