diff options
| author | Daniel Vetter <[email protected]> | 2020-03-23 15:49:33 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-26 16:05:31 +0100 |
| commit | bd9ff7b521a647a3c8f90a71b52d5f4c2723482e (patch) | |
| tree | 3aa23b180f1928de8fd771c6a4fa20ad3d18bcd0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 90c2e13bc30e22db8f118907f2d58546a0979dcf (diff) | |
drm/meson: Drop explicit drm_mode_config_cleanup call
It's right above the drm_dev_put().
This is made possible by a preceeding patch which added a drmm_
cleanup action to drm_mode_config_init(), hence all we need to do to
ensure that drm_mode_config_cleanup() is run on final drm_device
cleanup is check the new error code for _init().
Aside: This driver gets its devm_ stuff all wrong wrt drm_device and
anything hanging off that. Not the only one unfortunately.
v2: Explain why this cleanup is possible (Laurent).
v3: Use drmm_mode_config_init() for more clarity (Sam, Thomas)
Cc: Sam Ravnborg <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]> (v2)
Cc: Laurent Pinchart <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: [email protected]
Cc: [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