Re: [PATCH] drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()

2017-10-13 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 12/10/17 17:16, Jyri Sarha wrote: > We need the frame refresh time to check if we are too close to > vertical sync when updating the two framebuffer DMA registers an

[PATCH] drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()

2017-10-12 Thread Jyri Sarha
We need the frame refresh time to check if we are too close to vertical sync when updating the two framebuffer DMA registers and risk a collision. This new method is more accurate that the previous that based on mode's vrefresh value, which itself may also be inaccurate or not even initialized. R