diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-06-19 14:25:20 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-06-22 11:24:58 +0200 |
| commit | 3b995c3c2ebaf1ed7fcb3f2563652392f8513e23 (patch) | |
| tree | f4903723dea7f1c3b75e413cb142dbe2d22d9bc7 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 57acfbe5bbc1662439c7acf52a727e947d71622e (diff) | |
drm/bridge: cdns-dsi: Use __drm_atomic_helper_bridge_state_init()
The cdns-dsi bridge open-codes the bridge state initialization with
a memset and a manual assignment of the bridge pointer.
The memset is redundant since the state is already kzalloc-ed, and
__drm_atomic_helper_bridge_state_init() exists for exactly this
purpose.
Switch to it.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # imx8mp + sn65dsi84 + bridge hotplug
Link: https://patch.msgid.link/20260619-drm-no-more-bridge-reset-v3-75-ff399263111b@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
