summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2025-03-26 20:47:35 +0300
committerLouis Chauvet <louis.chauvet@bootlin.com>2025-04-07 12:38:04 +0300
commit0cc6aadd7fc1e629b715ea3d1ba537ef2da95eec (patch)
treeaf1b0976d36fcd2b1645fa4b5d03da4b5c0a960e /tools/perf/scripts/python/exported-sql-viewer.py
parent81feddc12613567d8206a9697d068711140e9c47 (diff)
downloadlinux-0cc6aadd7fc1e629b715ea3d1ba537ef2da95eec.tar.xz
drm/bridge: add devm_drm_bridge_alloc()
Add a macro to allocate and initialize a DRM bridge embedded within a private driver struct. Compared to current practice, which is based on [devm_]kzalloc() allocation followed by open-coded initialization of fields, this allows to have a common and explicit API to allocate and initialize DRM bridges. Besides being useful to consolidate bridge driver code, this is a fundamental step in preparation for adding dynamic lifetime to bridges based on refcount. Reviewed-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250326-drm-bridge-refcount-v9-1-5e0661fe1f84@bootlin.com Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions