diff options
author | Chris Wilson <[email protected]> | 2017-02-02 20:47:41 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-03-09 10:47:31 +0200 |
commit | 5a8cf90d743f2d05433c6109f6c1b9b904b0cdb7 (patch) | |
tree | 88d13956452c00f95cbd9778457060dd6ababe45 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | edd06b8353772dca7afcd4640dafa83b521edd55 (diff) |
drm/i915: Drain the freed state from the tail of the next commit
If we have any residual freed atomic state from earlier commits, flush
the freed list after performing the current modeset. This prevents the
freed list from ever-growing if userspace manages to starve the kernel
threads (i.e. we are never able to run our free state worker and
eventually the system may even oom).
Fixes: 6f0f02dc56f1 ("drm/i915: Move atomic state free from out of fence release")
Testcase: igt/kms_cursor/legacy/all-pipes-single-bo
Reported-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
(cherry picked from commit ba318c61a9719577b6f451c055f364e4116874b2)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions