Re: [PATCH v5 08/11] drm/vc4: hdmi: switch to generic CEC helpers

2025-04-15 Thread Dmitry Baryshkov
On 14/04/2025 17:41, Maxime Ripard wrote: On Mon, Apr 07, 2025 at 06:11:05PM +0300, Dmitry Baryshkov wrote: +static const struct drm_connector_hdmi_cec_adapter_ops vc4_hdmi_cec_adap_ops = { + .base.unregister = drm_connector_hdmi_cec_unregister, + .init = vc4_hdmi_cec_init, +

Re: [PATCH v5 08/11] drm/vc4: hdmi: switch to generic CEC helpers

2025-04-14 Thread Maxime Ripard
On Mon, Apr 07, 2025 at 06:11:05PM +0300, Dmitry Baryshkov wrote: > +static const struct drm_connector_hdmi_cec_adapter_ops vc4_hdmi_cec_adap_ops > = { > + .base.unregister = drm_connector_hdmi_cec_unregister, > + .init = vc4_hdmi_cec_init, > + .enable = vc4_hdmi_cec_adap_enable, > +

[PATCH v5 08/11] drm/vc4: hdmi: switch to generic CEC helpers

2025-04-07 Thread Dmitry Baryshkov
Switch VC4 driver to using CEC helpers code, simplifying hotplug and registration / cleanup. The existing vc4_hdmi_cec_release() is kept for now. Signed-off-by: Dmitry Baryshkov Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/vc4/Kconfig| 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 138