drm/edid: set ELD for firmware and debugfs override EDIDs
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 Mar 2015 08:42:00 +0000 (10:42 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 27 Mar 2015 11:27:04 +0000 (13:27 +0200)
commitad692b46dbf122ef90aadce3b389ef64c90e861d
treea4fb5d4851161d7e830214aa9b569b4a0b922814
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6
drm/edid: set ELD for firmware and debugfs override EDIDs

If the user supplies EDID through firmware or debugfs override, the
driver callbacks are bypassed and the connector ELD does not get
updated, and audio fails. Set ELD for firmware and debugfs EDIDs too.

There should be no harm in gratuitously doing this for non HDMI/DP
connectors, as it's still up to the driver to use the ELD, if any.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82349
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=80691
Reported-by: Emil <emilsvennesson@gmail.com>
Reported-by: Rob Engle <grenoble@gmail.com>
Tested-by: Jolan Luff <jolan@gormsby.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_edid_load.c
drivers/gpu/drm/drm_probe_helper.c