[Bug 82349] HDMI audio stops working when drm_kms_helper EDID overwrite is in place

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 10 05:34:26 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82349

Jani Nikula <jani.nikula at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Assignee|jani.nikula at intel.com       |intel-gfx-bugs at lists.freede
                   |                            |sktop.org

--- Comment #8 from Jani Nikula <jani.nikula at intel.com> ---
Rob, does this patch help?

Chris, does this patch make sense? ;) Should we check for connector type and
only do this for HDMI/DP?

diff --git a/drivers/gpu/drm/drm_edid_load.c b/drivers/gpu/drm/drm_edid_load.c
index 0a235fe61c9b..144a0368ccd0 100644
--- a/drivers/gpu/drm/drm_edid_load.c
+++ b/drivers/gpu/drm/drm_edid_load.c
@@ -288,6 +288,7 @@ int drm_load_edid_firmware(struct drm_connector *connector)

        drm_mode_connector_update_edid_property(connector, edid);
        ret = drm_add_edid_modes(connector, edid);
+       drm_edid_to_eld(connector, edid);
        kfree(edid);

        return ret;
diff --git a/drivers/gpu/drm/drm_probe_helper.c
b/drivers/gpu/drm/drm_probe_helper.c
index 6857e9ad6339..5edc61f2f212 100644
--- a/drivers/gpu/drm/drm_probe_helper.c
+++ b/drivers/gpu/drm/drm_probe_helper.c
@@ -151,6 +151,7 @@ static int
drm_helper_probe_single_connector_modes_merge_bits(struct drm_connect
                        struct edid *edid = (struct edid *)
connector->edid_blob_ptr->data;

                        count = drm_add_edid_modes(connector, edid);
+                       drm_edid_to_eld(connector, edid);
                } else
                        count = (*connector_funcs->get_modes)(connector);
        }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140910/c4f12763/attachment-0001.html>


More information about the intel-gfx-bugs mailing list