aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2016-11-17 21:04:11 +0000
committerChris Wilson <[email protected]>2016-11-17 21:05:37 +0000
commitea84aa776fb996130662ac16f59218117a39a311 (patch)
treea74a102ce02f33cb823228b8e697ff17bd68f1c4 /lib/memory-notifier-error-inject.c
parented9724ddde863ab650f7aaf61d577920dd2b3e15 (diff)
drm/i915: don't leak global_timeline
We need to clean up the global_timeline in i915_gem_load_cleanup. v2: don't forget about the struct_mutex, and also WARN_ON if we have any remaining timelines before purging the global_timeline. v3: it might be a good idea to first remove the global_timeline...duh! Fixes: 73cb97010d4f ("drm/i915: Combine seqno + tracking into a global timeline struct") Cc: Chris Wilson <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions