Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-25 Thread Chris Morgan
On Mon, Jul 17, 2023 at 05:25:45PM +0200, Anatolij Gustschin wrote:
> On Mon, 22 May 2023 23:47:00 +0200
> m...@xff.cz m...@xff.cz wrote:
> ...
> > Ondrej Jirman (8):
> >   video: rockchip: vop: Fix whitespace
> >   video: dw_mipi_dsi: Fix hsync/vsync settings
> >   video: rockchip: dw_mipi_dsi: Fix external phy existnece check
> >   video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
> >   video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
> >   video: rockchip: dw_mipi_dsi: Fix best_rate calculation
> >   video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
> >   video: rockchip: dw_mipi_dsi: Fix GRF access
> > 
> >  drivers/video/dw_mipi_dsi.c   |  4 +-
> >  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
> >  drivers/video/rockchip/rk_vop.c   |  2 +-
> >  3 files changed, 25 insertions(+), 19 deletions(-
> 
> Series applied to u-boot-video/master, thanks!

Too late for this to actually MATTER (I was out of town, sorry), but
for what it's worth...

Tested-by: Chris Morgan 

Thank you.

> 
> --
> Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-25 Thread Ondřej Jirman
On Tue, Jul 25, 2023 at 01:03:16PM -0500, Chris Morgan wrote:
> 
> On Mon, Jul 17, 2023 at 05:25:45PM +0200, Anatolij Gustschin wrote:
> > On Mon, 22 May 2023 23:47:00 +0200
> > m...@xff.cz m...@xff.cz wrote:
> > ...
> > > Ondrej Jirman (8):
> > >   video: rockchip: vop: Fix whitespace
> > >   video: dw_mipi_dsi: Fix hsync/vsync settings
> > >   video: rockchip: dw_mipi_dsi: Fix external phy existnece check
> > >   video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
> > >   video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
> > >   video: rockchip: dw_mipi_dsi: Fix best_rate calculation
> > >   video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
> > >   video: rockchip: dw_mipi_dsi: Fix GRF access
> > > 
> > >  drivers/video/dw_mipi_dsi.c   |  4 +-
> > >  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
> > >  drivers/video/rockchip/rk_vop.c   |  2 +-
> > >  3 files changed, 25 insertions(+), 19 deletions(-
> > 
> > Series applied to u-boot-video/master, thanks!
> 
> Too late for this to actually MATTER (I was out of town, sorry), but
> for what it's worth...
> 
> Tested-by: Chris Morgan 
> 
> Thank you.

Great, thanks. :) Good to know I did not break your use case.

kind regards,
o.

> > 
> > --
> > Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-18 Thread Christopher Morgan
I’ve been on holiday and not able to add my Tested-By yet, I do apologize. It 
will probably be another week and a half before I can, but I will check these 
out and if they cause problems I’ll let you know/start work on a fix.

Thank you.

> On Jul 17, 2023, at 11:01 AM, Anatolij Gustschin  wrote:
> 
> On Thu, 13 Jul 2023 18:03:48 +0200
> Ondřej Jirman m...@xff.cz wrote:
> 
>>> On Thu, Jul 13, 2023 at 05:47:47PM +0200, Anatolij Gustschin wrote:
>>> 
>>> On Thu, 13 Jul 2023 16:51:36 +0200
>>> Ondřej Jirman m...@xff.cz wrote:
>>> 
 Hi,
 
 On Mon, May 22, 2023 at 11:47:00PM +0200, megi xff wrote:  
> 
> 
> From: Ondrej Jirman 
> 
> These are just random fixes for bugs I found while eyeballing the code 
> and porting
> it to work with RK3399.
 
 It would be nice if somebody merged this. I'd like to add display support 
 for
 a few boards, and these patches are just fairly obvious bugfixes in new 
 code
 added in 2023.07 that I hoped would get merged in the bugfix part of the 
 merge
 window.  
>>> 
>>> I hoped to get a Tested-by for this series to make sure it does not break
>>> current users.  
>> 
>> It's a miracle it even works for the current users, given the wrong
>> way the current code writes to GRF registers, which makes it to have
>> no intended effect, etc.
>> 
>> Anyway, is there some upper limit to wait for Tested-by? 2 months seems
>> excessive. Just so I can remind myself sooner next time. :)
>> 
>> I can understand a few weeks, but 2 months just deters contributions.
> 
> I usually apply new patches during the merge window (we have three months
> release cycle) and this patch series was sent when the merge window was
> closed. If patches are bug fixes (like in this case) I prefer to get them
> tested by someone who has the actual hardware. When there is an Acked-by
> or Tested-by, then I apply the fixes for -rcX. We already had several cases
> in the past where simple and obvious timing fixes in the driver broke
> display support for in tree boards, therefore I'm somewhat reluctant to
> apply fixes for -rcX without Tested-by.
> 
> --
> Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-17 Thread Ondřej Jirman
On Mon, Jul 17, 2023 at 06:01:47PM +0200, Anatolij Gustschin wrote:
> 
> On Thu, 13 Jul 2023 18:03:48 +0200
> Ondřej Jirman m...@xff.cz wrote:
> 
> > On Thu, Jul 13, 2023 at 05:47:47PM +0200, Anatolij Gustschin wrote:
> > > 
> > > On Thu, 13 Jul 2023 16:51:36 +0200
> > > Ondřej Jirman m...@xff.cz wrote:
> > >   
> > > > Hi,
> > > > 
> > > > On Mon, May 22, 2023 at 11:47:00PM +0200, megi xff wrote:  
> > > > > 
> > > > > 
> > > > > From: Ondrej Jirman 
> > > > > 
> > > > > These are just random fixes for bugs I found while eyeballing the 
> > > > > code and porting
> > > > > it to work with RK3399.
> > > > 
> > > > It would be nice if somebody merged this. I'd like to add display 
> > > > support for
> > > > a few boards, and these patches are just fairly obvious bugfixes in new 
> > > > code
> > > > added in 2023.07 that I hoped would get merged in the bugfix part of 
> > > > the merge
> > > > window.  
> > > 
> > > I hoped to get a Tested-by for this series to make sure it does not break
> > > current users.  
> > 
> > It's a miracle it even works for the current users, given the wrong
> > way the current code writes to GRF registers, which makes it to have
> > no intended effect, etc.
> > 
> > Anyway, is there some upper limit to wait for Tested-by? 2 months seems
> > excessive. Just so I can remind myself sooner next time. :)
> > 
> > I can understand a few weeks, but 2 months just deters contributions.
> 
> I usually apply new patches during the merge window (we have three months
> release cycle) and this patch series was sent when the merge window was
> closed. If patches are bug fixes (like in this case) I prefer to get them
> tested by someone who has the actual hardware. When there is an Acked-by
> or Tested-by, then I apply the fixes for -rcX. We already had several cases
> in the past where simple and obvious timing fixes in the driver broke
> display support for in tree boards, therefore I'm somewhat reluctant to
> apply fixes for -rcX without Tested-by.

Thanks for explanation and for applying the patches.

kind regards,
Ondrej

> --
> Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-17 Thread Anatolij Gustschin
On Mon, 22 May 2023 23:47:00 +0200
m...@xff.cz m...@xff.cz wrote:
...
> Ondrej Jirman (8):
>   video: rockchip: vop: Fix whitespace
>   video: dw_mipi_dsi: Fix hsync/vsync settings
>   video: rockchip: dw_mipi_dsi: Fix external phy existnece check
>   video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
>   video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
>   video: rockchip: dw_mipi_dsi: Fix best_rate calculation
>   video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
>   video: rockchip: dw_mipi_dsi: Fix GRF access
> 
>  drivers/video/dw_mipi_dsi.c   |  4 +-
>  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
>  drivers/video/rockchip/rk_vop.c   |  2 +-
>  3 files changed, 25 insertions(+), 19 deletions(-

Series applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-13 Thread Ondřej Jirman
On Thu, Jul 13, 2023 at 05:47:47PM +0200, Anatolij Gustschin wrote:
> 
> On Thu, 13 Jul 2023 16:51:36 +0200
> Ondřej Jirman m...@xff.cz wrote:
> 
> > Hi,
> > 
> > On Mon, May 22, 2023 at 11:47:00PM +0200, megi xff wrote:
> > > 
> > > 
> > > From: Ondrej Jirman 
> > > 
> > > These are just random fixes for bugs I found while eyeballing the code 
> > > and porting
> > > it to work with RK3399.  
> > 
> > It would be nice if somebody merged this. I'd like to add display support 
> > for
> > a few boards, and these patches are just fairly obvious bugfixes in new code
> > added in 2023.07 that I hoped would get merged in the bugfix part of the 
> > merge
> > window.
> 
> I hoped to get a Tested-by for this series to make sure it does not break
> current users.

It's a miracle it even works for the current users, given the wrong
way the current code writes to GRF registers, which makes it to have
no intended effect, etc.

Anyway, is there some upper limit to wait for Tested-by? 2 months seems
excessive. Just so I can remind myself sooner next time. :)

I can understand a few weeks, but 2 months just deters contributions.

kind regards,
o.

> --
> Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-13 Thread Ondřej Jirman
Hi,

On Mon, May 22, 2023 at 11:47:00PM +0200, megi xff wrote:
> 
> 
> From: Ondrej Jirman 
> 
> These are just random fixes for bugs I found while eyeballing the code and 
> porting
> it to work with RK3399.

It would be nice if somebody merged this. I'd like to add display support for
a few boards, and these patches are just fairly obvious bugfixes in new code
added in 2023.07 that I hoped would get merged in the bugfix part of the merge
window.

regards,
Ondrej

> Please take a look.
> 
> Thank you and regards,
>   Ondrej Jirman
> 
> Ondrej Jirman (8):
>   video: rockchip: vop: Fix whitespace
>   video: dw_mipi_dsi: Fix hsync/vsync settings
>   video: rockchip: dw_mipi_dsi: Fix external phy existnece check
>   video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
>   video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
>   video: rockchip: dw_mipi_dsi: Fix best_rate calculation
>   video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
>   video: rockchip: dw_mipi_dsi: Fix GRF access
> 
>  drivers/video/dw_mipi_dsi.c   |  4 +-
>  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
>  drivers/video/rockchip/rk_vop.c   |  2 +-
>  3 files changed, 25 insertions(+), 19 deletions(-)
> 
> -- 
> 2.40.1
> 


[PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-05-22 Thread megi
From: Ondrej Jirman 

These are just random fixes for bugs I found while eyeballing the code and 
porting
it to work with RK3399.

Please take a look.

Thank you and regards,
Ondrej Jirman

Ondrej Jirman (8):
  video: rockchip: vop: Fix whitespace
  video: dw_mipi_dsi: Fix hsync/vsync settings
  video: rockchip: dw_mipi_dsi: Fix external phy existnece check
  video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
  video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
  video: rockchip: dw_mipi_dsi: Fix best_rate calculation
  video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
  video: rockchip: dw_mipi_dsi: Fix GRF access

 drivers/video/dw_mipi_dsi.c   |  4 +-
 drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
 drivers/video/rockchip/rk_vop.c   |  2 +-
 3 files changed, 25 insertions(+), 19 deletions(-)

-- 
2.40.1