Re: [linux-sunxi] Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-10-02 Thread Maxime Ripard
On Mon, Oct 01, 2018 at 01:25:59PM +0530, Jagan Teki wrote: > On Saturday 29 September 2018 08:57 PM, Maxime Ripard wrote: > > On Thu, Sep 27, 2018 at 11:03:19PM +0530, Jagan Teki wrote: > > > On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard > > > wrote: > > > > > > > > On Thu, Sep 27, 2018 at

Re: [linux-sunxi] Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-10-02 Thread Maxime Ripard
On Mon, Oct 01, 2018 at 01:25:59PM +0530, Jagan Teki wrote: > On Saturday 29 September 2018 08:57 PM, Maxime Ripard wrote: > > On Thu, Sep 27, 2018 at 11:03:19PM +0530, Jagan Teki wrote: > > > On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard > > > wrote: > > > > > > > > On Thu, Sep 27, 2018 at

Re: [linux-sunxi] Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-10-01 Thread Jagan Teki
On Saturday 29 September 2018 08:57 PM, Maxime Ripard wrote: On Thu, Sep 27, 2018 at 11:03:19PM +0530, Jagan Teki wrote: On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard wrote: On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: Accordingly to BPI-M64-bsp DE DSI code Video start delay

Re: [linux-sunxi] Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-10-01 Thread Jagan Teki
On Saturday 29 September 2018 08:57 PM, Maxime Ripard wrote: On Thu, Sep 27, 2018 at 11:03:19PM +0530, Jagan Teki wrote: On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard wrote: On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: Accordingly to BPI-M64-bsp DE DSI code Video start delay

Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Jagan Teki
On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard wrote: > > On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: > > Accordingly to BPI-M64-bsp DE DSI code Video start delay > > can be computed by subtracting total vertical timing with > > front porch timing and with adding 1 delay line for

Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Jagan Teki
On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard wrote: > > On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: > > Accordingly to BPI-M64-bsp DE DSI code Video start delay > > can be computed by subtracting total vertical timing with > > front porch timing and with adding 1 delay line for

Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Maxime Ripard
On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: > Accordingly to BPI-M64-bsp DE DSI code Video start delay > can be computed by subtracting total vertical timing with > front porch timing and with adding 1 delay line for TCON. This is what the current code is doing as well. > This

Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Maxime Ripard
On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: > Accordingly to BPI-M64-bsp DE DSI code Video start delay > can be computed by subtracting total vertical timing with > front porch timing and with adding 1 delay line for TCON. This is what the current code is doing as well. > This

[PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Jagan Teki
Accordingly to BPI-M64-bsp DE DSI code Video start delay can be computed by subtracting total vertical timing with front porch timing and with adding 1 delay line for TCON. This patch simply add the start_delay logic from BPI-M64-bsp, w/o this new computation, the DSI on A64 encounter vblank time

[PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Jagan Teki
Accordingly to BPI-M64-bsp DE DSI code Video start delay can be computed by subtracting total vertical timing with front porch timing and with adding 1 delay line for TCON. This patch simply add the start_delay logic from BPI-M64-bsp, w/o this new computation, the DSI on A64 encounter vblank time