Hi Fabrizio, On Mon, Nov 4, 2019 at 11:42 AM Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx> wrote: > > From: Neil Armstrong <narmstrong@xxxxxxxxxxxx> > > Sent: 04 November 2019 09:18 > > Subject: Re: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c > > > > On 30/10/2019 14:43, Fabrizio Castro wrote: > > > lvds-encoder.c implementation is also suitable for LVDS decoders, > > > not just LVDS encoders. > > > Instead of creating a new driver for addressing support for > > > transparent LVDS decoders, repurpose lvds-encoder.c for the greater > > > good. > > > > > > Signed-off-by: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx> > > > --- > > > drivers/gpu/drm/bridge/Kconfig | 8 +- > > > drivers/gpu/drm/bridge/Makefile | 2 +- > > > drivers/gpu/drm/bridge/lvds-codec.c | 169 ++++++++++++++++++++++++++++++++++ > > > drivers/gpu/drm/bridge/lvds-encoder.c | 155 ------------------------------- > > > 4 files changed, 174 insertions(+), 160 deletions(-) > > > create mode 100644 drivers/gpu/drm/bridge/lvds-codec.c > > > delete mode 100644 drivers/gpu/drm/bridge/lvds-encoder.c > > > > > > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > > > index 3436297..9e75ca4e 100644 > > > --- a/drivers/gpu/drm/bridge/Kconfig > > > +++ b/drivers/gpu/drm/bridge/Kconfig > > > @@ -45,14 +45,14 @@ config DRM_DUMB_VGA_DAC > > > Support for non-programmable RGB to VGA DAC bridges, such as ADI > > > ADV7123, TI THS8134 and THS8135 or passive resistor ladder DACs. > > > > > > -config DRM_LVDS_ENCODER > > > - tristate "Transparent parallel to LVDS encoder support" > > > +config DRM_LVDS_CODEC > > > > > > I'm not CCed on other patches, but I'm pretty sure you should fix other > > Kconfig and defconfigs selecting this config in this patch to avoid breaking bisect. > > My understanding is that no defconfig and no other option refer directly to DRM_LVDS_ENCODER, do you mind being a little bit more specific here? Sidenote: it looks like CONFIG_DRM_LVDS_ENCODER should have been enabled in shmobile_defconfig since commits 381ddfe478871588 ("drm: rcar-du: Hardcode encoders types to DRM_MODE_ENCODER_NONE") and 7160d57b6f81185c ("drm: bridge: lvds-encoder: Add thine,thc63lvdm83d compatible string"), to support thine,thc63lvdm83d in arch/arm/boot/dts/r8a7779-marzen.dts? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds