aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2020-04-15 09:39:36 +0200
committerDaniel Vetter <[email protected]>2020-04-28 15:05:19 +0200
commitb0b5849e0cc0195604c0945c9adb7c2570621a51 (patch)
tree2f9450ad95497c4a0feae1b710b3200f992e379c /tools/perf/scripts/python/net_dropmonitor.py
parent44dd0eef4a24bc4020f6c7b7aa855e341eb4bad2 (diff)
drm: Add devm_drm_dev_alloc macro
Add a new macro helper to combine the usual init sequence in drivers, consisting of a kzalloc + devm_drm_dev_init + drmm_add_final_kfree triplet. This allows us to remove the rather unsightly drmm_add_final_kfree from all currently merged drivers. The kerneldoc is only added for this new function. Existing kerneldoc and examples will be udated at the very end, since once all drivers are converted over to devm_drm_dev_alloc we can unexport a lot of interim functions and make the documentation for driver authors a lot cleaner and less confusing. There will be only one true way to initialize a drm_device at the end of this, which is going to be devm_drm_dev_alloc. v2: - Actually explain what this is for in the commit message (Sam) - Fix checkpatch issues (Sam) Acked-by: Noralf Trønnes <[email protected]> Cc: Noralf Trønnes <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Paul Kocialkowski <[email protected]> Cc: Laurent Pinchart <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions