Re: [PATCH] drm/komeda: Fix FLIP_COMPLETE timestamp on CRTC enable

2019-09-19 Thread Mihail Atanassov
On Thursday, 19 September 2019 14:30:02 BST Mihail Atanassov wrote: > When initially turning a crtc on, drm_reset_vblank_timestamp will > set the vblank timestamp to 0 for any driver that doesn't provide > a ->get_vblank_timestamp() hook. > > Unfortunately, the FLIP_COMPLETE event depends on that

[PATCH] drm/komeda: Fix FLIP_COMPLETE timestamp on CRTC enable

2019-09-19 Thread Mihail Atanassov
When initially turning a crtc on, drm_reset_vblank_timestamp will set the vblank timestamp to 0 for any driver that doesn't provide a ->get_vblank_timestamp() hook. Unfortunately, the FLIP_COMPLETE event depends on that timestamp, and the only way to regenerate a valid one is to have vblank interr