aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.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:02 +0200
commitf5f16725edbc1a53d4ef5c23c83a43f89ad1466f (patch)
tree7174e5f8d7eb1de55116b964c76a8bc4305382dd /tools/perf/scripts/python/check-perf-trace.py
parent73deb7b34c845a04047ad9ecd945f82e31614a40 (diff)
drm: rcar-du: Use DRM-managed allocation for encoders
devm_kzalloc() is the wrong API to allocate encoders, as the lifetime of the encoders is tied to the DRM device, not the device to driver binding. drmm_kzalloc() isn't a good option either, as it would result in the encoder being freed before being unregistered during the managed cleanup of the DRM objects. Use a plain kzalloc(), and register a drmm action to cleanup the encoder. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Reviewed-by: Kieran Bingham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions