diff options
| author | Daniel Vetter <[email protected]> | 2017-03-08 15:12:45 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-03-14 14:38:31 +0100 |
| commit | 7d2ec88149926b7ad875b9f95595e763e43d6105 (patch) | |
| tree | abbbf1e234f516a2e86cd3962a7385bcc2ac4bbf /tools/perf/scripts/python | |
| parent | ca0241a55f4f2d3a76e6753d2442b262264b938f (diff) | |
drm/i915: Merge pre/postclose hooks
There's really not a reason afaics that we can't just clean up
everything at the end, in the terminal postclose hook: Since this is
closing a file descriptor we know no one else can have a reference or
a thread doing something with that drm_file except the close code.
Ordering shouldn't matter, as long as we don't kfree before we clean
stuff up.
In the past this was more relevant when drivers still had to track and
clean up pending drm events, but that's all done by the core now.
Reviewed-by: Sean Paul <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions