drm: Parse color format information in CEA blocks
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 16 Apr 2012 13:16:19 +0000 (15:16 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:45:21 +0000 (12:45 +0100)
commita988bc728f93b58d7d4c6657513c89a5f0eb4706
treedd3f9657837c95b7af9919ce2cafcf045f9d2f04
parentee58808deca66bd0879562abf606e171752e8e15
drm: Parse color format information in CEA blocks

The CEA extension block has a field which describes which YCbCr modes are
supported by the device, use it to fill the drm_display_info color_formats
fields. Also the existence of a CEA extension block is used as indication
that the device supports RGB.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c