Skip to content

Commit

Permalink
rpi_1461_81d8808b1b58d0cf750e641c20f7b5d32e975777
Browse files Browse the repository at this point in the history
commit 81d8808
Author: Eric Anholt <[email protected]>
Date:   Tue Aug 8 13:56:05 2017 -0700

    drm/vc4: Fix leak of HDMI EDID
    
    We don't keep a pointer to it around anywhere, so it's our job to free
    it.
    
    Cc: Stefan Wahren <[email protected]>
    Link: anholt/linux#101
    Fixes: c8b75bc ("drm/vc4: Add KMS support for Raspberry Pi.")
    Signed-off-by: Eric Anholt <[email protected]>
    Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
    Reviewed-by: Daniel Vetter <[email protected]>
    Tested-by: Stefan Wahren <[email protected]>
    (cherry picked from commit 5afe0e62a548a0aa7d2095a98530b68f3d2c64e6)


Gbp-Pq: Topic rpi
Gbp-Pq: Name rpi_1461_81d8808b1b58d0cf750e641c20f7b5d32e975777.patch
  • Loading branch information
Debian Kernel Team authored and raspbian-autopush committed Nov 9, 2018
1 parent 763c40a commit 7655b06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/vc4/vc4_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ static int vc4_hdmi_connector_get_modes(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;
}
Expand Down

0 comments on commit 7655b06

Please sign in to comment.