Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 451023dc authored by Jani Nikula's avatar Jani Nikula Committed by Dave Airlie
Browse files

drm: remove the raw_edid field from struct drm_display_info



Neither the drm core nor any of the drivers really need the raw_edid field
of struct drm_display_info for anything. Instead of being useful, it
creates confusion about who is responsible for freeing the memory it points
to and setting the field to NULL afterwards, leading to memory leaks and
dangling pointers.

Remove the raw_edid field, and fix drivers as necessary.

Reported-by: default avatarRussell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Acked-by: default avatarInki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 993dcb05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment