]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Reduce the number of times we parse the CEA extension block
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Sep 2016 13:51:39 +0000 (16:51 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Oct 2016 06:23:11 +0000 (08:23 +0200)
commit58e2f2709c3e08c90b7e8b0d9dfb7b3786b8d5ae
tree5d21e1c8041692d7941edc393dd1f3d59a8cb8a3
parent515874d3f363c85e7c996204473e608388c67f3e
drm/edid: Reduce the number of times we parse the CEA extension block

Instead of parsing parts of the CEA extension block in two places
to determine supported color formats and whatnot, let's just
consolidate it to one function. This also makes it possible to neatly
flatten drm_assign_hdmi_deep_color_info().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-7-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_edid.c