Re: [PATCH v4] drm/bridge: tc358767: convert to devm_drm_bridge_alloc() API

2025-05-28 Thread Dmitry Baryshkov
On Wed, May 28, 2025 at 11:29:36AM +0200, Luca Ceresoli wrote: > This is the new API for allocating DRM bridges. > > Converting this driver is a bit complex because the drm_bridge funcs > pointer differs based on the bridge mode. So the current code does: > > * tc_probe() >* devm_kzalloc() p

[PATCH v4] drm/bridge: tc358767: convert to devm_drm_bridge_alloc() API

2025-05-28 Thread Luca Ceresoli
This is the new API for allocating DRM bridges. Converting this driver is a bit complex because the drm_bridge funcs pointer differs based on the bridge mode. So the current code does: * tc_probe() * devm_kzalloc() private struct embedding drm_bridge * call tc_probe_bridge_endpoint() which