drm/edid: build ELD in drm_add_edid_modes()
authorJani Nikula <jani.nikula@intel.com>
Wed, 1 Nov 2017 14:21:01 +0000 (16:21 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 7 Nov 2017 15:43:34 +0000 (17:43 +0200)
commitc945b8c14bb7cefe8ac31c63eaf8bad521df643e
tree74b74f9891f336eae90201841bc634f936343a2d
parent42750d39ad51691dc363cad2c221209449b24884
drm/edid: build ELD in drm_add_edid_modes()

Call drm_edid_to_eld() from drm_add_edid_modes() to fill in the ELD
automatically. There's no harm in doing this for connectors that do not
support audio.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/551b2e1cf19be04c510e7865d7539cfc2f54ea89.1509545641.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c