Re: [PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2025-01-05 Thread Martin Blumenstingl
On Fri, Jan 3, 2025 at 1:37 PM Dmitry Baryshkov wrote: > > On Tue, Dec 31, 2024 at 07:49:40PM +0100, Martin Blumenstingl wrote: > > On Tue, Dec 31, 2024 at 3:34 AM Dmitry Baryshkov > > wrote: > > [...] > > > > I checked all instances of struct hdmi_codec_ops in v6.13-rc3 and it > > > > seems that

Re: [PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2025-01-03 Thread Dmitry Baryshkov
On Tue, Dec 31, 2024 at 07:49:40PM +0100, Martin Blumenstingl wrote: > On Tue, Dec 31, 2024 at 3:34 AM Dmitry Baryshkov > wrote: > [...] > > > I checked all instances of struct hdmi_codec_ops in v6.13-rc3 and it > > > seems that there is only a single driver which uses the .prepare > > > callback

Re: [PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2024-12-31 Thread Martin Blumenstingl
On Tue, Dec 31, 2024 at 3:34 AM Dmitry Baryshkov wrote: [...] > > I checked all instances of struct hdmi_codec_ops in v6.13-rc3 and it > > seems that there is only a single driver which uses the .prepare > > callback (drivers/gpu/drm/vc4/vc4_hdmi.c). All other drivers seem to > > implement .hw_par

Re: [PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2024-12-30 Thread Dmitry Baryshkov
On Tue, Dec 31, 2024 at 01:43:11AM +0100, Martin Blumenstingl wrote: > Hello Dmitry, > > this is great work - thanks for your efforts! > > To give some context: > I am working on a HDMI controller driver for the Amlogic Meson8/8b/8m2 > SoCs. Unfortunately the driver is not mature enough for upstr

RE: [PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2024-12-30 Thread Martin Blumenstingl
Hello Dmitry, this is great work - thanks for your efforts! To give some context: I am working on a HDMI controller driver for the Amlogic Meson8/8b/8m2 SoCs. Unfortunately the driver is not mature enough for upstream submission (all I have is the vendor driver which serves as reference). That sa

[PATCH v10 03/10] drm/connector: implement generic HDMI audio helpers

2024-12-23 Thread Dmitry Baryshkov
Several DRM drivers implement HDMI codec support (despite its name it applies to both HDMI and DisplayPort drivers). Implement generic framework to be used by these drivers. This removes a requirement to implement get_eld() callback and provides default implementation for codec's plug handling. Ac