diff options
| author | Leo (Sunpeng) Li <[email protected]> | 2018-01-04 14:47:33 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-01-09 12:07:00 -0500 |
| commit | a10195bbe7f4e6ba540083ba13126ef745116cae (patch) | |
| tree | 4ef9044f02dafe498ddb609cbaac1d6e6dd4a5ca /tools/perf/scripts/python | |
| parent | 8242ecbd597dac1375f6b80e0c0574189afc9a17 (diff) | |
drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits
During a non-blocking commit, it is possible to return before the
commit_tail work is queued (-ERESTARTSYS, for example).
Since a reference on the crtc commit object is obtained for the pending
vblank event when preparing the commit, the above situation will leave
us with an extra reference.
Therefore, if the commit_tail worker has not consumed the event at the
end of a commit, release it's reference.
Signed-off-by: Leo (Sunpeng) Li <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions