]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3aa47e1e6b1007e9d21479ebf576200bd77dbae8
treedd3f9657837c95b7af9919ce2cafcf045f9d2f04
parent24aaeafc9f04c2403f859e3aeba11dd99a0d1f34
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