Re: [linux-sunxi] [PATCH 2/3] drm/sun4i: dsi: fix DRQ calculation

2019-10-02 Thread Jagan Teki
Hi, On Tue, Oct 1, 2019 at 1:34 PM Icenowy Zheng wrote: > > According to the BSP source code, when calculating the magic DRQ value > outside burst mode, a formula of "lcd_ht - lcd_x - lcd_hbp", which is > interpreted as right margin (HFP value). However, currently the > sun6i_mipi_dsi driver code

[PATCH 2/3] drm/sun4i: dsi: fix DRQ calculation

2019-10-01 Thread Icenowy Zheng
According to the BSP source code, when calculating the magic DRQ value outside burst mode, a formula of "lcd_ht - lcd_x - lcd_hbp", which is interpreted as right margin (HFP value). However, currently the sun6i_mipi_dsi driver code calculates it wrongly as HFP + sync length, which lead to timing er