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,
+
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,
> +
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