diff options
author | Maarten Lankhorst <[email protected]> | 2016-03-22 15:42:14 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-04-12 12:43:26 +0200 |
commit | f35034f8ac72925591ae96841fcbeebad1af1dc8 (patch) | |
tree | 3ff0a380d6e96b1d0b9835c0b7ad2ea47250d777 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | d00b39c17573ece6f5fb1385314877d29f540db8 (diff) |
drm/core: Fix ordering in drm_mode_config_cleanup.
__drm_atomic_helper_plane_destroy_state calls
drm_framebuffer_unreference, which means that if drm_framebuffer_free
is called before plane->destroy freed memory will be accessed.
A similar case happens for the blob list, which was freed before the
crtc state was, resulting in the unreference_blob from crtc_destroy_state
pointing to garbage memory causing another opportunity for a GPF.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/1458657734-21866-1-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions