Re: [PATCH 1/5] drm/bridge: samsung-dsim: add more mipi-dsi device debug information

2023-10-04 Thread Michael Tretter
On Wed, 27 Sep 2023 07:47:53 -0500, Adam Ford wrote:
> On Sun, Sep 3, 2023 at 8:05 PM Inki Dae  wrote:
> >
> > 2023년 8월 29일 (화) 오전 7:38, Adam Ford 님이 작성:
> > >
> > > On Mon, Aug 28, 2023 at 10:59 AM Michael Tretter
> > >  wrote:
> > > >
> > > > From: Marco Felsch 
> > > >
> > > > Since the MIPI configuration can be changed on demand it is very useful
> > > > to print more MIPI settings during the MIPI device attach step.
> > > >
> > > > Signed-off-by: Marco Felsch 
> > > > Signed-off-by: Michael Tretter 
> > >
> > > Reviewed-by: Adam Ford   #imx8mm-beacon
> > > Tested-by: Adam Ford   #imx8mm-beacon
> >
> > Reviewed-by: Inki Dae 
> > Acked-by: Inki Dae 
> 
> What needs to be done in order to get this accepted?  This series is a
> very nice improvement in i.MX8M Mini / Nano.

I think it is my turn to send a v2 that addresses the review comments. I'll
try to find time this week.

Michael

> 
> adam
> >
> > >
> > > > ---
> > > >  drivers/gpu/drm/bridge/samsung-dsim.c | 5 -
> > > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > > >
> > > > diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c 
> > > > b/drivers/gpu/drm/bridge/samsung-dsim.c
> > > > index 73ec60757dbc..6778f1751faa 100644
> > > > --- a/drivers/gpu/drm/bridge/samsung-dsim.c
> > > > +++ b/drivers/gpu/drm/bridge/samsung-dsim.c
> > > > @@ -1711,7 +1711,10 @@ static int samsung_dsim_host_attach(struct 
> > > > mipi_dsi_host *host,
> > > > return ret;
> > > > }
> > > >
> > > > -   DRM_DEV_INFO(dev, "Attached %s device\n", device->name);
> > > > +   DRM_DEV_INFO(dev, "Attached %s device (lanes:%d bpp:%d 
> > > > mode-flags:0x%lx)\n",
> > > > +device->name, device->lanes,
> > > > +mipi_dsi_pixel_format_to_bpp(device->format),
> > > > +device->mode_flags);
> > > >
> > > > drm_bridge_add(>bridge);
> > > >
> > > >
> > > > --
> > > > 2.39.2
> > > >
> 


Re: [PATCH 1/5] drm/bridge: samsung-dsim: add more mipi-dsi device debug information

2023-09-27 Thread Adam Ford
On Sun, Sep 3, 2023 at 8:05 PM Inki Dae  wrote:
>
> 2023년 8월 29일 (화) 오전 7:38, Adam Ford 님이 작성:
> >
> > On Mon, Aug 28, 2023 at 10:59 AM Michael Tretter
> >  wrote:
> > >
> > > From: Marco Felsch 
> > >
> > > Since the MIPI configuration can be changed on demand it is very useful
> > > to print more MIPI settings during the MIPI device attach step.
> > >
> > > Signed-off-by: Marco Felsch 
> > > Signed-off-by: Michael Tretter 
> >
> > Reviewed-by: Adam Ford   #imx8mm-beacon
> > Tested-by: Adam Ford   #imx8mm-beacon
>
> Reviewed-by: Inki Dae 
> Acked-by: Inki Dae 

What needs to be done in order to get this accepted?  This series is a
very nice improvement in i.MX8M Mini / Nano.

adam
>
> >
> > > ---
> > >  drivers/gpu/drm/bridge/samsung-dsim.c | 5 -
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c 
> > > b/drivers/gpu/drm/bridge/samsung-dsim.c
> > > index 73ec60757dbc..6778f1751faa 100644
> > > --- a/drivers/gpu/drm/bridge/samsung-dsim.c
> > > +++ b/drivers/gpu/drm/bridge/samsung-dsim.c
> > > @@ -1711,7 +1711,10 @@ static int samsung_dsim_host_attach(struct 
> > > mipi_dsi_host *host,
> > > return ret;
> > > }
> > >
> > > -   DRM_DEV_INFO(dev, "Attached %s device\n", device->name);
> > > +   DRM_DEV_INFO(dev, "Attached %s device (lanes:%d bpp:%d 
> > > mode-flags:0x%lx)\n",
> > > +device->name, device->lanes,
> > > +mipi_dsi_pixel_format_to_bpp(device->format),
> > > +device->mode_flags);
> > >
> > > drm_bridge_add(>bridge);
> > >
> > >
> > > --
> > > 2.39.2
> > >


Re: [PATCH 1/5] drm/bridge: samsung-dsim: add more mipi-dsi device debug information

2023-09-03 Thread Inki Dae
2023년 8월 29일 (화) 오전 7:38, Adam Ford 님이 작성:
>
> On Mon, Aug 28, 2023 at 10:59 AM Michael Tretter
>  wrote:
> >
> > From: Marco Felsch 
> >
> > Since the MIPI configuration can be changed on demand it is very useful
> > to print more MIPI settings during the MIPI device attach step.
> >
> > Signed-off-by: Marco Felsch 
> > Signed-off-by: Michael Tretter 
>
> Reviewed-by: Adam Ford   #imx8mm-beacon
> Tested-by: Adam Ford   #imx8mm-beacon

Reviewed-by: Inki Dae 
Acked-by: Inki Dae 

>
> > ---
> >  drivers/gpu/drm/bridge/samsung-dsim.c | 5 -
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c 
> > b/drivers/gpu/drm/bridge/samsung-dsim.c
> > index 73ec60757dbc..6778f1751faa 100644
> > --- a/drivers/gpu/drm/bridge/samsung-dsim.c
> > +++ b/drivers/gpu/drm/bridge/samsung-dsim.c
> > @@ -1711,7 +1711,10 @@ static int samsung_dsim_host_attach(struct 
> > mipi_dsi_host *host,
> > return ret;
> > }
> >
> > -   DRM_DEV_INFO(dev, "Attached %s device\n", device->name);
> > +   DRM_DEV_INFO(dev, "Attached %s device (lanes:%d bpp:%d 
> > mode-flags:0x%lx)\n",
> > +device->name, device->lanes,
> > +mipi_dsi_pixel_format_to_bpp(device->format),
> > +device->mode_flags);
> >
> > drm_bridge_add(>bridge);
> >
> >
> > --
> > 2.39.2
> >


Re: [PATCH 1/5] drm/bridge: samsung-dsim: add more mipi-dsi device debug information

2023-08-28 Thread Adam Ford
On Mon, Aug 28, 2023 at 10:59 AM Michael Tretter
 wrote:
>
> From: Marco Felsch 
>
> Since the MIPI configuration can be changed on demand it is very useful
> to print more MIPI settings during the MIPI device attach step.
>
> Signed-off-by: Marco Felsch 
> Signed-off-by: Michael Tretter 

Reviewed-by: Adam Ford   #imx8mm-beacon
Tested-by: Adam Ford   #imx8mm-beacon

> ---
>  drivers/gpu/drm/bridge/samsung-dsim.c | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c 
> b/drivers/gpu/drm/bridge/samsung-dsim.c
> index 73ec60757dbc..6778f1751faa 100644
> --- a/drivers/gpu/drm/bridge/samsung-dsim.c
> +++ b/drivers/gpu/drm/bridge/samsung-dsim.c
> @@ -1711,7 +1711,10 @@ static int samsung_dsim_host_attach(struct 
> mipi_dsi_host *host,
> return ret;
> }
>
> -   DRM_DEV_INFO(dev, "Attached %s device\n", device->name);
> +   DRM_DEV_INFO(dev, "Attached %s device (lanes:%d bpp:%d 
> mode-flags:0x%lx)\n",
> +device->name, device->lanes,
> +mipi_dsi_pixel_format_to_bpp(device->format),
> +device->mode_flags);
>
> drm_bridge_add(>bridge);
>
>
> --
> 2.39.2
>


[PATCH 1/5] drm/bridge: samsung-dsim: add more mipi-dsi device debug information

2023-08-28 Thread Michael Tretter
From: Marco Felsch 

Since the MIPI configuration can be changed on demand it is very useful
to print more MIPI settings during the MIPI device attach step.

Signed-off-by: Marco Felsch 
Signed-off-by: Michael Tretter 
---
 drivers/gpu/drm/bridge/samsung-dsim.c | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c 
b/drivers/gpu/drm/bridge/samsung-dsim.c
index 73ec60757dbc..6778f1751faa 100644
--- a/drivers/gpu/drm/bridge/samsung-dsim.c
+++ b/drivers/gpu/drm/bridge/samsung-dsim.c
@@ -1711,7 +1711,10 @@ static int samsung_dsim_host_attach(struct mipi_dsi_host 
*host,
return ret;
}
 
-   DRM_DEV_INFO(dev, "Attached %s device\n", device->name);
+   DRM_DEV_INFO(dev, "Attached %s device (lanes:%d bpp:%d 
mode-flags:0x%lx)\n",
+device->name, device->lanes,
+mipi_dsi_pixel_format_to_bpp(device->format),
+device->mode_flags);
 
drm_bridge_add(>bridge);
 

-- 
2.39.2