diff options
| author | Daniel Vetter <[email protected]> | 2020-03-23 15:49:20 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-26 15:36:47 +0100 |
| commit | 2cbf7fc6718b9443ecd6261308c6348d8ffcccae (patch) | |
| tree | dc4ce4b0d4853c874e5899bdbe41d93edfb2cdfb /tools/perf/scripts/python/stackcollapse.py | |
| parent | a5c71fdba9dfeff1f47713a641ef5ce2eadf5e8f (diff) | |
drm: Use drmm_ for drm_dev_init cleanup
Well for the simple stuff at least, vblank, gem and minor cleanup I
want to further split up as a demonstration.
v2: We need to clear drm_device->dev otherwise the debug drm printing
after our cleanup hook (e.g. in drm_manged_release) will chase
released memory and result in a use-after-free. Not really pretty, but
oh well.
Reviewed-by: Sam Ravnborg <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions