]> 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)
commit243439e32322b50e3dbc51978235342505e06554
tree5d21e1c8041692d7941edc393dd1f3d59a8cb8a3
parentaf3142fa8cedcb71de0437a2a665aacdf4ab9ffc
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