aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-12-03 15:09:22 +0200
committerLaurent Pinchart <[email protected]>2021-01-05 07:20:01 +0200
commit73deb7b34c845a04047ad9ecd945f82e31614a40 (patch)
treeed19d597cc89c78517b773d6a4bbd34c817b47f6 /tools/perf/scripts/python/event_analyzing_sample.py
parentd8d164a2b2c71d9fe798fdead06695d1be241c17 (diff)
drm: rcar-du: Use DRM-managed allocation for VSP planes
devm_kcalloc() is the wrong API to allocate planes, as the lifetime of the planes is tied to the DRM device, not the device to driver binding. drmm_kcalloc() isn't a good option either, as it would result in the planes being freed before being unregistered during the managed cleanup of the DRM objects. Use a plain kcalloc(), and cleanup the planes and free the memory in the existing rcar_du_vsp_cleanup() handler. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions