Re: [PATCH] drm/tilcdc: Force recalculation of vrefresh in tilcdc_crtc_set_mode()

2017-10-13 Thread Kevin Hao
On Thu, Oct 12, 2017 at 12:39:25PM +0300, Jyri Sarha wrote: > We are using the vrefresh to check if we are too close to vertical > sync to update the two framebuffer DMA registers and risk a > collision. The vrefresh is coming from user space and normally it is > not used for anything. For instance

Re: [PATCH] drm/tilcdc: Force recalculation of vrefresh in tilcdc_crtc_set_mode()

2017-10-12 Thread Jyri Sarha
There is a new patch to replace this one: https://lists.freedesktop.org/archives/dri-devel/2017-October/154589.html Best regards, Jyri Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/12/17 12:39, Jyri Sarha w

Re: [PATCH] drm/tilcdc: Force recalculation of vrefresh in tilcdc_crtc_set_mode()

2017-10-12 Thread Jyri Sarha
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/12/17 12:53, Kevin Hao wrote: > On Thu, Oct 12, 2017 at 12:39:25PM +0300, Jyri Sarha wrote: >> We are using the vrefresh to check if we are too close to vertical

[PATCH] drm/tilcdc: Force recalculation of vrefresh in tilcdc_crtc_set_mode()

2017-10-12 Thread Jyri Sarha
We are using the vrefresh to check if we are too close to vertical sync to update the two framebuffer DMA registers and risk a collision. The vrefresh is coming from user space and normally it is not used for anything. For instance xserver leaves vrefresh to zero causing a division by zero when se