Commit 6b731a65 authored by Ma Ling's avatar Ma Ling Committed by Eric Anholt
Browse files

drm/i915: avoid hanging on to a stale pointer to raw_edid.

drm_get_edid will store edid into raw_edid, so when freeing edid memory,
at the same time clean raw_edid pointer.
Signed-off-by: default avatarMa Ling <>
[anholt: Note that raw_edid is not currently used anywhere]
Signed-off-by: default avatarEric Anholt <>
parent 959b887c
......@@ -76,6 +76,7 @@ int intel_ddc_get_modes(struct intel_output *intel_output)
ret = drm_add_edid_modes(&intel_output->base, edid);
intel_output->base.display_info.raw_edid = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment